summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSheogorath2018-06-26 22:56:05 +0200
committerSheogorath2018-06-26 22:56:19 +0200
commit3b9e29a14a1f5214d0ad90af40d199618265de4f (patch)
treea97780c69f076e9f8d73555316b6788ae22013e0 /README.md
parent6218c703a98b177562c95042d3062503fbfc3dd9 (diff)
Update install instructions to cover sequelize
We instruct people to run db migrations on inital setup. We should do that! Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4cae291b..34d52b57 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,10 @@ Just to more confusion: We are still friends with HackMD :heart:
3. Setup the configs, see more below
4. Setup environment variables which will overwrite the configs
5. Build front-end bundle by `npm run build` (use `npm run dev` if you are in development)
-6. Run the server as you like (node, forever, pm2)
+6. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string
+ For example: `postgres://username:password@localhost:5432/codimd`
+7. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db to the latest schema
+8. Run the server as you like (node, forever, pm2)
## Heroku Deployment