branch | status |
---|---|
master | |
develop |
Before you can run this application you will need to install the latest node (nodejs.org). Once node is installed then run the following command to install needed libraries
npm install && npm run server-install
First start off by starting the server. Make sure you are in the root directory of CampusTrade
.
To reseed the application cd server
, and run npm run reseed
.
To run the server run the following command
npm run start-server
Next you will start the ui. To run the web application run the following command
npm start
Anytime you make changes to your code and save, your browser will refresh because of webpack
.
To run tests run npm test
.
This will run a reseed and start the application up locally. It will then start up the selenium server and then run the tests in Chrome.
Be sure to always git checkout develop && git pull
before creating a new branch for the new feature.
Create a new branch - git checkout -b <branch name>
Add all files to staging area - git add -A
Commit changes to your branch - git commit -m "<message>"
Push to repository - git push
We are using Todd Motto's style guide which can be found here.
To submit code, please create a branch and make your edits in that branch. When it is complete, submit a pull request to develop. We will review it and if it's good, we will merge it.
This project is licensed under the Creative Commons Attribution NonCommercial NoDerivs 4.0 (CC-BY-NC-ND-4.0).