chasingtowardssun / Coffee_Shop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSU_CS467_Capstone_Coffee_Shop

Installation

cd admin && npm install
cd customer && npm install

Run with local DB

Need to first setup dbcon.js correctly using the included dbcon.local.js file: make a copy of the included dbcon.local.js in both admin and customer directory first:

cd admin && cp dbcon.local.js dbcon.js
cd customer && cp dbcon.local.js dbcon.js

Update the content of dbcon.js as needed (username, password, database name, etc) to point the DB connection to local MySQL server.

⚠️ DO NOT CHANGE dbcon.local.js DIRECTLY.

Run admin site

cd admin
npm start

Run customer site

cd customer
npm start

Run with DB connection to gcloud

Need to get gcloud access first, i.e. setup gcloud SDK locally and gain access to the gcloud apps (coffee-shop-admin and coffee-shop-customer).

Run admin site

./run_admin.sh

Run customer site

./run_customer.sh

Run both sites

./run_both.sh

About


Languages

Language:JavaScript 59.3%Language:Handlebars 36.3%Language:CSS 2.9%Language:Shell 1.5%