Skip to content

aaronholla/binofparts

Repository files navigation

Build Status Code Climate Coverage Status

Contributing?

Join the chat at https://gitter.im/BinofParts/binofparts

Bin of Parts is built using the Ruby on Rails framework.
If you would like to contribute to this project please follow these setup instructions below.

Fork this Repository!

A Vagrantfile is provided to smooth the development setup process. To use the preconfigured Virtual Machine you will have to install VirtualBox and Vagrant.

Install VirtualBox
Install Vagrant

Quick Setup
  1. Clone fork to local computer git clone https://github.com/USERNAME/binofparts.git
  2. Navigate to root directory. cd binofparts
  3. Setup the VM.vagrant up
  4. SSH Into the VM. vagrant ssh
  5. Change to project root directory. cd /binofparts
  6. Install project dependencies. bundle
  7. Setup the database. rake db:setup
  8. Start local Rails Server. rails s
  9. You're good to go! You can access the site at localhost:3000

Warning: Make sure to replace USERNAME with your github username when cloning

Testing

The project is tested using rspec and capybara, along with factorygirl for factories. It is already setup to use Guard-rspec. This way you can use guard to automatically detect any changes to specs and run the tests for you.

To run guard:

  1. startup the vagrant vm vagrant up
  2. ssh into the box vagrant ssh
  3. cd /binofparts
  4. run guard with polling enabled bundle exec guard -pc

TIP: If running guard uses to much of your cpu you can limit cpu usage. Add the -l 10 flag onto the end of the guard command.

About

The source code for the Bin of Parts web app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published