Visitar URL original
GitHub - mrt/ey-roulette: ey-roulette · GitHub
Skip to content

About

ey-roulette

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

== 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'

About

ey-roulette

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors