File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,15 +45,14 @@ Get started
4545
4646Upgrade guide
4747---
48- If you are upgrading HackMD from an older version, follow below steps:
48+ If you are upgrading HackMD from an older version, follow these steps:
4949
50501 . Fully stop your old server first (important).
51- 2 . ` git pull ` or whatever that really update the files.
51+ 2 . ` git pull ` or do whatever that really update the files.
52523 . ` npm install && bower install ` to update dependencies.
53534 . Modify the file named ` .sequelizerc ` , change the value of the variable ` url ` with your db connection string.
5454 For example: ` postgres://username:password@localhost:5432/hackmd ` .
55- 5 . Run ` node_modules/.bin/sequelize db:migrate ` , this step will migrate your db with the latest schema.
56- You can also revert the migration with ` node_modules/.bin/sequelize db:migrate:undo ` (do this with caution).
55+ 5 . Run ` node_modules/.bin/sequelize db:migrate ` , this step will migrate your db to the latest schema.
57566 . Start your whole new server!
5857
5958Structure
You can’t perform that action at this time.
0 commit comments