diff --git a/backend/README.md b/backend/README.md index ab00c348e416a367f7f543b5ec48eb4657ec8eb7..1e7187bd846659ef0198106e5558395862001f4f 100644 --- a/backend/README.md +++ b/backend/README.md @@ -5,12 +5,22 @@ ``` npm install ``` -4. To start backend server, run +4. Install Sequelize CLI as global with: +``` +npm install -g sequelize-cli +``` +With this, you can run Sequelize on CLI. This is necessary for migrating db. +5. Create database on Postgres +6. Migrate database with +``` +sequelize db:migrate +``` +5. To start backend server, run ``` npm start ``` -5. Do work. Any changes in the backend will be automatically updated. No more turning the server on and off again! :) -6. Good luck have fun! +6. Do work. Any changes in the backend will be automatically updated. No more turning the server on and off again! :) +7. Good luck have fun! ## File Structure ```