diff options
author | David Mehren | 2020-11-27 20:57:46 +0100 |
---|---|---|
committer | David Mehren | 2020-11-27 22:41:54 +0100 |
commit | 7bcf548cd2483b61175ba92da3e93714f0abc8b4 (patch) | |
tree | 0c3485518ecea1129429dfb20e24413f300fb83b /docs | |
parent | 0b44a40d1a8a6f54ff4b6b324a265e2d4e5f11f3 (diff) |
Mention that the database connection string needs an absolute path to the SQLite file
Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/setup/manual-setup.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/setup/manual-setup.md b/docs/setup/manual-setup.md index 41ddc5f7..859dd83c 100644 --- a/docs/setup/manual-setup.md +++ b/docs/setup/manual-setup.md @@ -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) |