Skip to content

AustinCodingAcademy/campus-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Campus Manager

CircleCI

Development

You first need to setup your environment.

Machine Dependencies

  1. Download and install Node.js (at least version 8.9.4)

  • Mac OSX
    1. Install Xcode
    • Open it and accept the terms
    1. Install Homebrew
    2. Install MongoDB brew install mongodb
    3. Create MongoDB data directory sudo mkdir -p /data/db
    4. Correct permissions sudo chmod -R 0755 /data/db && sudo chown $USER /data/db
    5. 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
    1. Install Python 2 brew install python@2
  • Windows
    1. Install Chocolatey
    2. Install MongoDB choco install mongodb -y
    3. Create MongoDB data directory mkdir /data/db
    4. 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
    1. Install VCBuild Tools choco install vcbuildtools -y
    2. Install Python 2 choco install python2 -y
  • Linux
    1. Install MongoDB sudo apt install mongodb
    2. Create MongoDB data directory sudo mkdir -p /data/db
    3. Correct permissions sudo chmod -R 0755 /data/db && sudo chown $USER /data/db
    4. 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

App Dependencies

After forking, cloning, and navigating into repository:

  1. Check to see if python --version returns Python 2.*
  • If not and on Mac, run alias python=python2 and try again
  1. Install dependencies yarn
  2. Duplicate .env.example and name it .env
  3. Leave npx gulp running in one terminal session
  4. Navigate to http://localhost:3000/register to create a user

Testing

  1. Download Google Chrome
  2. Install Java JDK
  • Mac OSX brew cask install java
  • Windows choco install jdk7
  • Linux sudo apt install openjdk-8-jdk-headless
  1. Run yarn test