soen387
Install sqlite3 for your computer (with MacOs Sierra):
brew install sqlite
npm install
from base directory (server root, i.e. ERM387)
sh ./dbsetup.sh
used to create tables in the sqlite db (cd to root)
npm start
cd to db-master
sqlite3 test.db- sqlite>
.read ./data/full.sql
cd to root (ERM387)
npm start
user_id: joeblo@gmail.com user_password: root
.helpin the sqlite console.tablesto see tables- Just do normal SQL queries in the console to see the results (ex: SELECT * FROM tablename;)
.quitto exit the console (sqlite)