Victus Spiritus

home

Rails 3.1beta deployed to Heroku from your iPhone

17 May 2011

The tools:

  1. Local shell, LogMeIn or an ssh shell to a terminal system on your phone/tablet
  2. a system with git and heroku (I haven't tried installing these on my phone)
  3. Internet
  4. DropBox and DropText for easy mobile editing. Alternatively you could use github as a web editing/auto-commiting platform

The commands

Begin in your DropBox project hidey hole directory.

Part 1

Intermission, theRubyRacer

For Heroku we'll need to add pg and theRubyRacer gem. We only need them for production (can use conditional requires), but this will work.

Part 2

That's it, the app is live at. You can see it here: http://phoneHome.heroku.com/links.

Lessons learned:



<script type="text/javascript"
src="https://gist.github.com/raw/949945/1468755b2659aa0206ef4b0060100b152f44a8d3/growingdivs.js"></script>