From db3d55b2ff47d4a3d9b844484bea4fed9fefd709 Mon Sep 17 00:00:00 2001 From: Mirco Nasuti <mirco.nasuti@chuv.ch> Date: Fri, 22 Jul 2016 15:58:15 +0200 Subject: [PATCH] add tip in readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 81bea9ecd..cbad97b2b 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,11 @@ This is the MIP backend. * Stop and remove the running container: `./halt.sh` * Clean Maven cache, etc: `./clean.sh` -## Usage for deployments +## Usage in building environment * Build a versioned image: `./captain_build.sh` or `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` ## Deployment @@ -24,3 +25,7 @@ This is the MIP backend. 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. -- GitLab