From 7bcf548cd2483b61175ba92da3e93714f0abc8b4 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Fri, 27 Nov 2020 20:57:46 +0100 Subject: Mention that the database connection string needs an absolute path to the SQLite file Signed-off-by: David Mehren --- docs/setup/manual-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/setup/manual-setup.md') 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) -- cgit v1.2.3