Giter Site home page Giter Site logo

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.

Bin of Parts's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.