File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,11 +49,12 @@ If you are upgrading HackMD from an older version, follow below steps:
4949
50501 . Fully stop your old server first (important).
51512 . ` git pull ` or whatever that really update the files.
52- 3 . Modify the file named ` .sequelizerc ` , change the value of the variable ` url ` with your db connection string.
52+ 3 . ` npm install && bower install ` to update dependencies.
53+ 4 . Modify the file named ` .sequelizerc ` , change the value of the variable ` url ` with your db connection string.
5354 For example: ` postgres://username:password@localhost:5432/hackmd ` .
54- 4 . Run ` node_modules/.bin/sequelize db:migrate ` , this step will migrate your db with the latest schema.
55+ 5 . Run ` node_modules/.bin/sequelize db:migrate ` , this step will migrate your db with the latest schema.
5556 You can also revert the migration with ` node_modules/.bin/sequelize db:migrate:undo ` (do this with caution).
56- 5 . Start your whole new server!
57+ 6 . Start your whole new server!
5758
5859Structure
5960---
You can’t perform that action at this time.
0 commit comments