cd admin && npm install
cd customer && npm install
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 CHANGEdbcon.local.js
DIRECTLY.
cd admin
npm start
cd customer
npm start
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.sh
./run_customer.sh
./run_both.sh