summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wu2016-06-02 00:13:01 +0800
committerMax Wu2016-06-02 00:13:01 +0800
commit7a371ec7ca1e8cd65956f9724823f8e428e6693c (patch)
tree3e673f2529a3dc4d3ed5d738b24fed5044a3c1dd
parent03bdee23ffbcdd0f1b24668da9d4168f7809d8e0 (diff)
Update README.md
Diffstat (limited to '')
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index 84f621a4..8e920926 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,13 @@ Get started
4. Setup environment variables, which will overwrite the configs
5. Run the server as you like (node, forever, pm2)
+DB migration
+---
+If you are upgrading HackMD from older version, you might need to do this to apply the DB schema changes.
+
+1. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string.
+2. Run `node_modules/.bin/sequelize db:migrate`, that's it!
+
Structure
---
```
@@ -125,11 +132,6 @@ Third-party integration api key settings
| imgur | `config.json` | for image upload |
| google drive, dropbox | `public/js/common.js` | for export and import |
-DB migration
----
-Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string.
-And run `node_modules/.bin/sequelize db:migrate`, that's it!
-
Operational Transformation
---
From 0.3.2, we start support operational transformation.