... | ... | @@ -5,15 +5,13 @@ |
|
|
3. launch the application: `sudo docker-compose up -d`
|
|
|
4. stop the application: `sudo docker-compose down`
|
|
|
## Setup
|
|
|
in the `api` folder add a file called: `dbconfig.json`
|
|
|
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:
|
|
|
```json
|
|
|
{
|
|
|
"dbhost": "hostname",
|
|
|
"user": "username",
|
|
|
"pwd": "password"
|
|
|
}
|
|
|
```
|
|
|
dbhost=hostname
|
|
|
user=username
|
|
|
pwd=password
|
|
|
```
|
|
|
|
|
|
### Database
|
... | ... | |