You first need to setup your environment.
-
Download and install Node.js (at least version 8.9.4)
- Mac OSX
- Install Xcode
- Open it and accept the terms
- Install Homebrew
- Install MongoDB
brew install mongodb - Create MongoDB data directory
sudo mkdir -p /data/db - Correct permissions
sudo chmod -R 0755 /data/db && sudo chown $USER /data/db - Start MongoDB
mongod
- Leave this running or just close the terminal window while running
- You'll have to do this step every time you restart your computer
- Install Python 2
brew install python@2
- Windows
- Install Chocolatey
- Install MongoDB
choco install mongodb -y - Create MongoDB data directory
mkdir /data/db - Start MongoDB
mongod.exe
- Leave this running or just close the terminal window while running
- You'll have to do this step every time you restart your computer
- Install VCBuild Tools
choco install vcbuildtools -y - Install Python 2
choco install python2 -y
- Linux
- Install MongoDB
sudo apt install mongodb - Create MongoDB data directory
sudo mkdir -p /data/db - Correct permissions
sudo chmod -R 0755 /data/db && sudo chown $USER /data/db - Start MongoDB
mongod
- Leave this running or just close the terminal window while running
- You'll have to do this step every time you restart your computer
- Install MongoDB
After forking, cloning, and navigating into repository:
- Check to see if
python --versionreturns Python 2.*
- If not and on Mac, run
alias python=python2and try again
- Install dependencies
yarn - Duplicate
.env.exampleand name it.env - Leave
npx gulprunning in one terminal session - Navigate to
http://localhost:3000/registerto create a user
- Download Google Chrome
- Install Java JDK
- Mac OSX
brew cask install java - Windows
choco install jdk7 - Linux
sudo apt install openjdk-8-jdk-headless
- Run
yarn test