From 68db899b92cf1795f3e3a060f93b30b5978a4141 Mon Sep 17 00:00:00 2001
From: I Kadek Yuda Budipratama Giri <13516115@std.stei.itb.ac.id>
Date: Thu, 28 Mar 2019 14:39:38 +0700
Subject: [PATCH] Update readme for backend

---
 backend/README.md | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/backend/README.md b/backend/README.md
index ab00c34..1e7187b 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
 ```
-- 
GitLab