... | ... | @@ -4,6 +4,18 @@ |
|
|
3. launch the application: `sudo docker-compose up -d`
|
|
|
4. stop the application: `sudo docker-compose down`
|
|
|
## Setup
|
|
|
### Build dependencies
|
|
|
- node/npm
|
|
|
- sassc
|
|
|
- webpack (`npm i --save-dev webpack webpack-cli`)
|
|
|
- yarn (`npm i -g yarn`)
|
|
|
|
|
|
### Build
|
|
|
|
|
|
you'll need to build the styles and javascript bundles first. Go into the `src` folder
|
|
|
and run `make build`.
|
|
|
|
|
|
### Config
|
|
|
in the `api` folder add a file called: `dbconfig`
|
|
|
this file configures the database connection between api and db
|
|
|
syntax in it looks like this:
|
... | ... | |