mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-14 16:54:28 +00:00
Mention that the database connection string needs an absolute path to the SQLite file
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
0b44a40d1a
commit
7bcf548cd2
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
6. Modify the file named `.sequelizerc`, change the value of the variable `url` to your db connection string. For example:
|
||||
- `postgres://username:password@localhost:5432/hedgedoc`
|
||||
- `mysql://username:password@localhost:3306/hedgedoc`
|
||||
- `sqlite://:memory:`
|
||||
- `sqlite:///opt/hedgedoc/hedgedoc.sqlite` (note that you need to use an absolute path to the SQLite file)
|
||||
7. It is recommended to start your server manually once: `NODE_ENV=production yarn start`, this way it's easier to see warnings or errors that might occur (leave out `NODE_ENV=production` for development).
|
||||
8. Run the server as you like (node, forever, pm2, SystemD, Init-Scripts)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue