... | ... | @@ -21,6 +21,23 @@ port=5001 |
|
|
debug=false
|
|
|
```
|
|
|
if `debug` is set to true and an error happens at runtime, you get a traceback to where this error comes from. Useful in development but not so useful in production
|
|
|
### frontend configuration
|
|
|
In `src/static/` theres a file called `config.js` which looks like this (without comments):
|
|
|
```js
|
|
|
export const config = {
|
|
|
apihost: "localhost",
|
|
|
apiport: "5001",
|
|
|
version: "0.0.1"
|
|
|
}
|
|
|
```
|
|
|
if your api uses a different host or a different port, change that to the corresponding ones. e.g.
|
|
|
```js
|
|
|
export const config = {
|
|
|
apihost: "yourhost.com",
|
|
|
port: "80",
|
|
|
version: "0.0.1"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### Database
|
|
|
This Database needs a volume called `blogdb_content`.
|
... | ... | |