summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMax Wu2016-06-15 03:21:54 +0800
committerGitHub2016-06-15 03:21:54 +0800
commit4c672cb24e25161c42884dc1536dfb7d21583364 (patch)
tree8d7821a9a7e022b61021d12a78f6959afe7ab94a /README.md
parentf130807ead074bca9712c455835ee69027e99e05 (diff)
Update README.md
Diffstat (limited to '')
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index e9c31fbe..88a51fba 100644
--- a/README.md
+++ b/README.md
@@ -49,11 +49,12 @@ If you are upgrading HackMD from an older version, follow below steps:
1. Fully stop your old server first (important).
2. `git pull` or whatever that really update the files.
-3. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string.
+3. `npm install && bower install` to update dependencies.
+4. 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`.
-4. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db with the latest schema.
+5. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db with the latest schema.
You can also revert the migration with `node_modules/.bin/sequelize db:migrate:undo` (do this with caution).
-5. Start your whole new server!
+6. Start your whole new server!
Structure
---