Deploying To Heroku
If you haven't yet deployed this application to heroku, start at First-time setup. Otherwise, start at Every time.
First-time setup for each application
Step 1: Create a heroku application
Type this in the terminal:heroku createStep 2: Edit the Gemfile
gem 'sqlite3'
group :development, :test do gem 'sqlite3' end group :production do gem 'pg' gem 'rails_12factor' endStep 3: Apply the Gemfile changes
Type this in the terminal:bundle install --without productionStep 4: Commit the Gemfile changes
Type this in the terminal:git add -A git commit -m "Changed Gemfile for heroku"
Every time
Step 1: Commit any pending changes to git
Type this in the terminal:git statusType this in the terminal:git add -A git commit -m "Some helpful message for your future self"Step 2: Push changes to heroku
Type this in the terminal:git push heroku masterStep 3: Run database migrations on Heroku
Type this in the terminal:heroku run rake db:migrateStep 4: Visit your application
Type this in the terminal:heroku open
Explanation
Back to Setting The Default Page