Skip to content

Latest commit

 

History

History
executable file
·
55 lines (42 loc) · 1.24 KB

README.md

File metadata and controls

executable file
·
55 lines (42 loc) · 1.24 KB

DigitalPantry

Installation

Prerequisites:

Start mySQL Server - MacOS

  • Navigate to /system preferences/mySQL/ and click start server
  • Run:
sudo /usr/local/mysql/support-files/mysql.server start

Start mySQL Server - Windows

Configure project

//clone this repository
git clone https://github.com/ey6685/DigitalPantry.git

//Checkout development branch
git checkout development

//Install all dependencies
npm install

Set up database:

//Create a new database (Do this step after mysql is installed)
mysql -u <your_username> -p
//It will promnt you for your password

//Once inside the mysql shell run
create database digital_pantry;

//Exit mysql shell and run
mysql -u <your_username> -p digital_pantry < DESIGN_DAY.sql
//It will promnt you for your password

Run project

//Inside DigitalPantry directory, run
nodemon app.js

//In browser navigate to localhost:3000