fishbook/docs/configuration.md

14 lines
679 B
Markdown

# Configuration
## Database connection
* Should work with mysql or mariaDB databases
* if you do not have access to a database server, go back to index.md to read how to install one locally
To log into the database you need the `host`, the `database name`, the `user` name, and the `password`.
Note, the selected user needs at least read access on the selected database (True? maybe also write?).
The root of the fishbook package contains a file called *template_dj_local_conf.json*. copy this file
to your project folder, i.e. the location from which you call your scripts, remove the `template_` prefix
and fill in `database.host`, `database.user`, `database.password`.