Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
281a5939
Commit
281a5939
authored
8 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
update readme + circle.yml captain version
parent
0c030cef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-22
3 additions, 22 deletions
README.md
circle.yml
+1
-1
1 addition, 1 deletion
circle.yml
with
4 additions
and
23 deletions
README.md
+
3
−
22
View file @
281a5939
...
...
@@ -2,34 +2,15 @@
[

](https://www.gnu.org/licenses/agpl-3.0.html)
## Usage
in development environment
## Usage
*
Build and run the project (including clean target):
`./go.sh`
*
Build the project (including clean target):
`./build.sh`
*
Run the project:
`./run.sh`
*
Show live logs:
`./log.sh`
(CTRL+C to quit)
*
Stop and remove the running container:
`./halt.sh`
*
Clean Maven cache, etc:
`./clean.sh`
## Usage in building environment
*
Build a versioned image:
`./captain_build.sh`
(only if
`$WORKSPACE=$(pwd)`
) or
`export WORKSPACE=<path-to-workspace> && captain build`
*
Build and test an image:
`./captain_test.sh`
or
`captain test`
*
Run the latest image with a non-persistent postgres (only use this for testing purpose):
`./captain_run.sh`
*
Build a versioned image:
`./build.sh`
*
Build and test an image:
`./test.sh`
## Deployment
*
See here: https://hub.docker.com/r/hbpmip/portal-backend/
## Generate PDF API documentation on build
Uncomment the following line in src/docker/build/build-in-docker.sh :
`mvn swagger2markup:convertSwagger2markup asciidoctor:process-asciidoc`
## Tips
*
Do not forget to set up the CLIENT_SECRET environment variable when deploying.
## License
Copyright © 2016 LREN CHUV
...
...
This diff is collapsed.
Click to expand it.
circle.yml
+
1
−
1
View file @
281a5939
...
...
@@ -3,7 +3,7 @@ machine:
-
docker
dependencies
:
pre
:
-
curl -sL https://github.com/harbur/captain/releases/download/v0.0
.1
/captain > ~/bin/captain
-
curl -sL https://github.com/harbur/captain/releases/download/v
1.
0.0/captain > ~/bin/captain
-
chmod u+x ~/bin/captain
test
:
override
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment