This generator has set up the following stack:
- Testing * RSpec * Capybara * Database Cleaner * SimpleCov * Guard
- Frontend * Bootstrap * Disabled Turbolinks * Precompiled assets in production
- Gem groups set up for easy Heroku deployment * Postgres will work out of the box. No configuration necessary.
- Misc * Google Analytics
TODO:
- Add the line
ruby '2.1.2'
to the top of your Gemfile - An MIT License file has been created for you * Add your name and the year
- A README.md file has been started for you * Add relavent information and screenshots for your app * There is a basic template you can follow, but make it your own
- Google Analytics is set up to track your app
* Set up an application on Google Analytics
* You will need to add your analytics tracking code to
config/secrets.yml
- Set up Airbrake (Optional) * If you entered your api key during project creation, you're all set! * Otherwise, visit Airbrake and set up a free account. * When it asks for "subdomain", it really means "username" (it's also a required field, even though it doesn't seem like it) * Generate your api key, then on your command line (in the project root), run: `rails g airbrake --api-key your_api_key_here
Deploying to Heroku:
bin/setup [<app_name>]
* <app_name> is optional. It will, by default, attempt to create an app on Heroku using your Rails application name.bin/deploy
Deploying to Ninefold:
- Create your app on Ninefold
- Add the given SSH key to your account on GitHub
- Choose the option for a single-server app
- Choose Ruby 2.1.0
- Change the name of the Environment Variable from SECRET_TOKEN to SECRET_KEY_BASE
- Click deploy (it will probably fail)
- Copy the relevant database information from the Database tab
- Paste that info in your
config/secrets.yml
file - Push your changes
- Re-deploy on Ninefold