summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbananaappletw2017-01-14 15:27:24 +0800
committerbananaappletw2017-01-14 15:27:24 +0800
commit77994508e66bc9fa1bde547d83e50d92aa5e1d88 (patch)
tree149b095b74630bf42663a5a8530d5e410e2bcd9d
parent3d6b31921651e71ef68fdc88af4ddef50cc9bcb3 (diff)
Update README.md for npm script
Diffstat (limited to '')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 92557cf4..e2ab06a7 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,7 @@ 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. Build front-end bundle by `npm run build:prod` (use `npm run build:dev` if you are in development)
+4. Build front-end bundle by `npm run build` (use `npm run 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`
6. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db to the latest schema