An application for tracking commutes for the Bicycle Commuters of Anchorage annual commuter challenge.
- Ruby 2.2.x
- Rails 4.2.x
- Clone the repository
- Install bundler:
gem install bundler
- Install prerequisites:
bundle install
-
Install PostgreSQL.
-
Create a database user using the following command.
createuser -d -S -R -P -h localhost bike_commute_challenge
-
Enter "peddlehard" as the password.
-
From the Rails application root directory, run the following command.
rake db:create:all
-
From the Rails application root directory, run the following command.
rake db:migrate
- Use small feature branches for development.
- When a feature is complete and ready to be merged, initiate a Pull Request on
GitHub to merge your
feature_branch
into themaster
branch. Other team members will then review your changes. - Once everyone agrees the feature is good to go, merge your branch.
Travis is used for automated builds. Travis is setup up to automatically run the test suite for each push to the repository, and for each pull requests. A pull request will not be accepted if any spec is failing.
https://travis-ci.org/ResourceDataInc/commuter_challenge
Code Climate is used for code quality analysis and test coverage.
https://codeclimate.com/github/ResourceDataInc/commuter_challenge