summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wu2016-12-11 23:24:04 +0800
committerGitHub2016-12-11 23:24:04 +0800
commit9769b0c872b3a8c6774799f2ddb4e76b07c02bdd (patch)
treeced12cc45aa3a89a2afcb76d73e96f7325a286b7
parent5eec050360fe748eb16f4db6397371466d72421a (diff)
Update README.md
to mention about build front-end bundle on upgrade guide
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 8806b06c..bdf97ee2 100644
--- a/README.md
+++ b/README.md
@@ -64,10 +64,11 @@ If you are upgrading HackMD from an older version, follow these steps:
1. Fully stop your old server first (important)
2. `git pull` or do whatever that updates the files
3. `npm install` to update dependencies
-4. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string
+4. Build front-end bundle by `npm run build:prod` (use `npm run build:dev` if you are in development)
+5. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string
For example: `postgres://username:password@localhost:5432/hackmd`
-5. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db to the latest schema
-6. Start your whole new server!
+6. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db to the latest schema
+7. Start your whole new server!
Structure
---