https://github.com/carbonfive/creditcard-roulette
https://github.com/carbonfive/creditcard-roulette
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/carbonfive/creditcard-roulette
- Owner: carbonfive
- Created: 2013-02-26T21:20:11.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-02T00:37:27.000Z (over 13 years ago)
- Last Synced: 2025-01-30T17:37:02.332Z (over 1 year ago)
- Language: Ruby
- Size: 156 KB
- Stars: 0
- Watchers: 75
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Creditcard Roulette
...
Generated with [Raygun](https://github.com/carbonfive/raygun).
# Requirements
To run the specs or fire up the server, be sure you have these:
* Ruby 1.9.3-p327
* PostgreSQL 9.x with superuser 'postgres' with no password (```createuser -s postgres```)
* PhantomJS for JavaScript testing (```brew install phantomjs```)
# Development
### First Time Setup
After cloning, run these commands to install missing gems and prepare the database.
$ gem install bundler
$ bundle update
$ rake db:setup db:sample_data
Note, ```rake db:sample_data``` loads a small set of data for development. Check out ```db/sample_data.rb``` for details.
### Running the Specs
To run all ruby and jasmine specs.
$ rake
Again, with coverage for the ruby specs:
$ rake spec:coverage
### Running the Application Locally
$ foreman start
$ open http://0.0.0.0:3000"
### Using Guard
Guard is configured to run ruby and jasmine specs, and also listen for livereload connections. Growl is used for notifications.
$ bundle exec guard
### Deploying to Heroku
Install the heroku toolbelt if you don't already have it (https://toolbelt.heroku.com/).
$ heroku apps:create creditcard-roulette
$ git push heroku master
$ heroku run rake db:setup
# Considerations
...