Install NodeJS by entering below commands to terminal
brew update && brew install node
Check if NodeJS and NPM are installed
node -v
npm -v
-
Clone Volcash github repo
git clone [email protected]:dbenet-ntu/Volcash-Project.git
-
Download
images.zip
file, upzip it and put the folder insideback-end
. -
Create
Constants.js
file insidefront-end/src
to setPROXY
variable. ThisPROXY
variable is the address of the back-end of the site. Inside this file, putexport const PROXY = "http://localhost:5001"
Notes: On production server, this variable is set differently.
-
Install required dependencies for
back-end
cd back-end npm install
-
Install required dependies for
front-end
cd front-end npm install
-
Start
back-end
servicecd back-end npm start
-
Opening a different terminal, start
front-end
developement enviromentcd front-end npm start