Skip to content

Commit 4c672cb

Browse files
authored
Update README.md
1 parent f130807 commit 4c672cb

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ If you are upgrading HackMD from an older version, follow below steps:
4949

5050
1. Fully stop your old server first (important).
5151
2. `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

5859
Structure
5960
---

0 commit comments

Comments
 (0)