Skip to content

CharlesTran267/VolcashDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setting up local development for Volcash for MacOS

Install NodeJS

Install NodeJS by entering below commands to terminal

brew update && brew install node

Check if NodeJS and NPM are installed

node -v 
npm -v

Setting code base and required data

  • Clone Volcash github repo

    git clone [email protected]:dbenet-ntu/Volcash-Project.git
  • Download images.zip file, upzip it and put the folder inside back-end.

  • Create Constants.js file inside front-end/src to set PROXY variable. This PROXY variable is the address of the back-end of the site. Inside this file, put

    export const PROXY = "http://localhost:5001"

    Notes: On production server, this variable is set differently.

Install required dependencies

  • Install required dependencies for back-end

    cd back-end
    npm install
  • Install required dependies for front-end

    cd front-end
    npm install

Start development server

  • Start back-end service

    cd back-end 
    npm start
  • Opening a different terminal, start front-end developement enviroment

    cd front-end
    npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •