node --version
v11.10.1
npm --version
6.7.0
or
yarn --version
1.12.3
git clone "https://github.com/arc9693/LabelLab/"
cd LabelLab
cd front-end
yarn or npm i
yarn start or npm start
- In mysql terminal,type:
create database LabelLab
- In the command line terminal or bash,type:
mysql -u root -p < LabelLab.sql
- Open a new terminal in the project folder and type:
cd back-end
- Set up enviornment variables
export host=<host> port=<port> user=<db_user> password=<password>
- Install the dependencies
npm i
- Start the server
npm start
- For front-end
cd front-end
npm test
- For back-end
cd back-end
npm test
cd front-end
npm run cypress