Notes/README.md
2024-04-19 13:34:30 +00:00

611 B

Run from scratch

Database

Create an empty database. The configured user needs to be able to create and alter stuff.

Configuration

Create a configuration file $HOME/.config/notes.yaml with the following content:

network:
  address: '[::]'
  port: 1371

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

User

Create a user by running

notes --createuser