25 lines
394 B
Markdown
25 lines
394 B
Markdown
|
Create a configuration file `$HOME/.config/notes.yaml` with the following content:
|
||
|
|
||
|
```yaml
|
||
|
websocket:
|
||
|
domains:
|
||
|
- notes.com
|
||
|
|
||
|
database:
|
||
|
host: 127.0.0.1
|
||
|
port: 5432
|
||
|
name: notes.com
|
||
|
username: notes
|
||
|
password: SomePassword
|
||
|
|
||
|
application:
|
||
|
directories:
|
||
|
static: /usr/local/share/notes
|
||
|
upload: /usr/local/lib/notes/upload
|
||
|
|
||
|
session:
|
||
|
daysvalid: 31
|
||
|
```
|
||
|
|
||
|
Create an empty database.
|