use ENV variables

This commit is contained in:
Bilal Catic
2019-05-24 15:42:45 +02:00
parent aa3a4d8720
commit 304de9bd32
7 changed files with 41 additions and 13 deletions

View File

@@ -14,6 +14,9 @@ NOTE : If migration fails, try executing migrations manually with `npm run migra
If everything works correctly, it is possible to connect to database with :
`psql -d CrmIntegration -p 5432 -U docker -h localhost`
2. Copy `environment.env` file to `.env` file and make appropriate changes.
`BASIC_AUTH_USERNAME` and `BASIC_AUTH_PASSWORD` are required for functional app.
3. Start server : `npm run start-server`
4. Start client : `npm run start-client`