Skip to content

Commit 9769b0c

Browse files
authored
Update README.md
to mention about build front-end bundle on upgrade guide
1 parent 5eec050 commit 9769b0c

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
@@ -64,10 +64,11 @@ If you are upgrading HackMD from an older version, follow these steps:
6464
1. Fully stop your old server first (important)
6565
2. `git pull` or do whatever that updates the files
6666
3. `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

7273
Structure
7374
---

0 commit comments

Comments
 (0)