Skip to content

Commit 8bd85f8

Browse files
authored
Merge pull request #866 from SISheogorath/docs/nativeSequelize
Update install instructions to cover sequelize
2 parents 6218c70 + 3b9e29a commit 8bd85f8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ Just to more confusion: We are still friends with HackMD :heart:
8080
3. Setup the configs, see more below
8181
4. Setup environment variables which will overwrite the configs
8282
5. Build front-end bundle by `npm run build` (use `npm run dev` if you are in development)
83-
6. Run the server as you like (node, forever, pm2)
83+
6. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string
84+
For example: `postgres://username:password@localhost:5432/codimd`
85+
7. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db to the latest schema
86+
8. Run the server as you like (node, forever, pm2)
8487

8588
## Heroku Deployment
8689

0 commit comments

Comments
 (0)