From e9442e223ebf0dcbae81742a164e0d2730555cb1 Mon Sep 17 00:00:00 2001 From: GotPPay Date: Wed, 20 Jun 2018 12:49:07 +0200 Subject: [PATCH] update env setup --- .gitignore | 3 ++- README.md | 6 ++++-- .env => environment.env | 0 3 files changed, 6 insertions(+), 3 deletions(-) rename .env => environment.env (100%) diff --git a/.gitignore b/.gitignore index 15c9108..e6ebb69 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -/log \ No newline at end of file +/log +.env \ No newline at end of file diff --git a/README.md b/README.md index e376334..7abca1c 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,12 @@ #How to run -edit .env file (it is sufficent to change API_URL to http://localhost:8081 if you are testing locally) +1) copy environment.env file and rename it to .env + +2) edit .env file (it is sufficent to change API_URL to http://localhost:8081 if you are testing locally) (on test server, this value is API_URL=http://next.wiaas.saburly.com/api) -execute in the root of the project : +3) execute in the root of the project : sudo docker-compose build sudo docker-compose up diff --git a/.env b/environment.env similarity index 100% rename from .env rename to environment.env