summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMax Wu2016-06-15 03:30:19 +0800
committerGitHub2016-06-15 03:30:19 +0800
commit8c9d4ea55542fa98d5e49dd4eda351662dcbcac5 (patch)
treede320a637056ab277a87e6c25dc3a6083511b3ec /README.md
parent4c672cb24e25161c42884dc1536dfb7d21583364 (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index 88a51fba..87c410f0 100644
--- a/README.md
+++ b/README.md
@@ -45,15 +45,14 @@ Get started
Upgrade guide
---
-If you are upgrading HackMD from an older version, follow below steps:
+If you are upgrading HackMD from an older version, follow these steps:
1. Fully stop your old server first (important).
-2. `git pull` or whatever that really update the files.
+2. `git pull` or do whatever that really update the files.
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`.
-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. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db to the latest schema.
6. Start your whole new server!
Structure