ey-roulette
Ruby JavaScript
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
app lots of html Feb 16, 2011
config switching to sqlite3 Feb 25, 2011
db first commit Feb 16, 2011
doc first commit Feb 16, 2011
lib/tasks first commit Feb 16, 2011
public Edited public/_index.html via GitHub Sep 15, 2011
script first commit Feb 16, 2011
test first commit Feb 16, 2011
vendor/plugins first commit Feb 16, 2011
.gitignore first commit Feb 16, 2011
.rvmrc switching to sqlite3 Feb 25, 2011
Gemfile switching to sqlite3 Feb 25, 2011
Gemfile.lock switching to sqlite3 Feb 25, 2011
README first commit Feb 16, 2011
Rakefile first commit Feb 16, 2011
config.ru first commit Feb 16, 2011
roulette.tmproj lots of html Feb 16, 2011

README

== ROUlette

1. Install rails 

2. Configure mysql connection and create db

3. Create Game model
rails generate model Game

4. Create migration
add to generated migration one field:
t.integer :number

rake db:migrate

5. Create controller
rails generate controller Games

and put here "  respond_to :html, :xml, :json"
to support different output types

6. Configure routes:
  resources :games
  root :to => "games#index"

7. Create view

8. Create helper to convert -1 value yo '00' string.

9. run 'rackup'