For our Beginning Ruby on Rails training course in Boston, January 29-30, all attendees will be:
Heroku handles headaches
Have you ever tried to teach Rails to a friend? You want them to feel web development with Rails.
However, consider the following issues:
- Your student may have never used the command line.
- Your student may be on Windows, Mac, Ubuntu, or another operating system.
- Your student may not have SQLite, MySQL, Ruby, Rubygems, or Rails installed correctly.
- Your student may have never used a text editor such as Vim, Emacs, Textmate, or gedit.
I believe Heroku elegantly solves these problems. Get your friends excited about Rails development without boring or confusing them with ancillary information.
- an internet connection
- a Heroku account
Create new app
On the My Apps page, click the Create new app button. You'll see the following:
Your Rails app is immediately up and running on Heroku, which runs on top of Amazon Web Services. It displays the default Rails public page with modified instructions.
Clicking on the import a tarball link displays:
Save this Suspenders tarball:
Now import it into Heroku using the form.
Use the online editor
After importing, you'll see your app's view again.
Now click on the Edit your app link. An in-browser text editor displays:
That's it! We've got Heroku wearing Suspenders, an excellent, standardized environment to teach Rails wherein students can learn the important stuff first, such as actual Test Driven Development with Rails, instead of fiddling with their OS, gems, or text editor.