Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Small Ruby On Rails website
Ruby JavaScript
Branch: Refinery
Pull request Compare This branch is 1 commit ahead of master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
features/support
lib
log
public
script
spec
test
vendor
.env
.gitignore
.rspec
Gemfile
Gemfile.lock
Procfile
README.rdoc
Rakefile
config.ru

README.rdoc

Yum4mum

(C) Matthew West 2012

> rvm gemset use rails – Setup environment > foreman start – Start server at localhost:5000

> git push heroku – Deploy

Add new gem


  • Add new gem name to 'Gemfile'

> bundle update – Installs gem and dependencies > rake … – Installs files into rails > git status – Figure out what rake etc have done > git commit -a -m “Added gem” – Commit to Git

Asset Pipeline


> RAILS_ENV=production bundle exec rake assets:precompile – compile assets > git add public/assets – Add files to git

Database Access


> foreman run [command] – Run a command that uses Database.yml > foreman run rake db:migrate – Run migration on database

Something went wrong with that request. Please try again.