File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,10 +64,11 @@ If you are upgrading HackMD from an older version, follow these steps:
64641 . Fully stop your old server first (important)
65652 . ` git pull ` or do whatever that updates the files
66663 . ` npm install ` to update dependencies
67- 4 . Modify the file named ` .sequelizerc ` , change the value of the variable ` url ` with your db connection string
67+ 4 . Build front-end bundle by ` npm run build:prod ` (use ` npm run build:dev ` if you are in development)
68+ 5 . Modify the file named ` .sequelizerc ` , change the value of the variable ` url ` with your db connection string
6869 For example: ` postgres://username:password@localhost:5432/hackmd `
69- 5 . Run ` node_modules/.bin/sequelize db:migrate ` , this step will migrate your db to the latest schema
70- 6 . Start your whole new server!
70+ 6 . Run ` node_modules/.bin/sequelize db:migrate ` , this step will migrate your db to the latest schema
71+ 7 . Start your whole new server!
7172
7273Structure
7374---
You can’t perform that action at this time.
0 commit comments