mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 23:24:46 -04:00
Update README.md
This commit is contained in:
parent
03bdee23ff
commit
7a371ec7ca
1 changed files with 7 additions and 5 deletions
12
README.md
12
README.md
|
@ -43,6 +43,13 @@ Get started
|
||||||
4. Setup environment variables, which will overwrite the configs
|
4. Setup environment variables, which will overwrite the configs
|
||||||
5. Run the server as you like (node, forever, pm2)
|
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
|
Structure
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
@ -125,11 +132,6 @@ Third-party integration api key settings
|
||||||
| imgur | `config.json` | for image upload |
|
| imgur | `config.json` | for image upload |
|
||||||
| google drive, dropbox | `public/js/common.js` | for export and import |
|
| 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
|
Operational Transformation
|
||||||
---
|
---
|
||||||
From 0.3.2, we start support operational transformation.
|
From 0.3.2, we start support operational transformation.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue