obscuring credentials and more docu
This commit is contained in:
parent
d27c02614c
commit
34d71d537e
13
docs/configuration.md
Normal file
13
docs/configuration.md
Normal file
@ -0,0 +1,13 @@
|
||||
# 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`.
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"database.host": "localhost",
|
||||
"database.password": "datajoint",
|
||||
"database.host": "yourhost",
|
||||
"database.user": "yourdatabaseusername",
|
||||
"database.password": "yourdatabaseuserpassword",
|
||||
"database.port": 3306,
|
||||
"loglevel": "DEBUG",
|
||||
"display.width": 14,
|
||||
"display.limit": 7,
|
||||
"safemode": false,
|
||||
"database.user": "dj",
|
||||
"connection.init_function": null
|
||||
}
|
Loading…
Reference in New Issue
Block a user