Skip to content

psytau/RailsBookCheckout

Repository files navigation

Rails Book Checkout

Demo: railsbookcheckout.herokuapp.com

To set up this app on heroku…

System dependencies

  • Ruby 2.1.1, Rails 4.0

Local installation

git clone git@github.com:psytau/RailsBookCheckout.git; cd RailsBookCheckout
bundle install
rake db:setup
rails server

Services setup

Configuration

  • To run locally, you must install elasticsearch. But other than that, no further set-up is needed.

  • You may want to edit db/seeds.rb to change the default admin users.

Services setup for previous versions

  • to start search services, run: rake sunspot:solr:start

  • to top solr run: bundle exec sunspot-solr stop

  • You will need mandrill and cloudinary accounts

  • To set up cloudinary, you will need to set up a config/cloudinary.yml file

  • To set up mandrill, you will need a mandrill API key. But the API key into Figaro’s config/application.yml file

Database setup

  • just run rake db:setup

Test suite

  • We use rspec and cucumber.

  • To run all the tests just run rake rake

  • To run just rspec, run rake rspec

  • To run just cucumber, rn rake cucumber

Deployment

<img src=“https://travis-ci.org/psytau/RailsBookCheckout.svg” alt=“Build Status” />

<img src=“https://codeclimate.com/github/psytau/RailsBookCheckout/badges/gpa.svg” /> <img src=“https://codeclimate.com/github/psytau/RailsBookCheckout/badges/coverage.svg” />

Note: CodeClimate coverage does not incude javascript tests. A more complete report can be found here: railsbookcheckout.herokuapp.com/coverage/index.html#_AllFiles

About

Final project for UWE Rails Certification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •