Climb Aboard
Rails, Merb & Sinatra can now run
on Google App Engine with JRuby!
- Everything you need installs as gems
- Works with DataMapper 0.10.1
- Free to get up and running
Getting started
We'll build a simple "Hello World" application.
Install the gems
$ sudo gem install google-appengine
Assign an app identifier
Simply create an application at appsopt.com,
we'll refer to that as my-app in this document.Create a folder for your app
$ mkdir my-app; cd my-app;
Generate a rackup file
In the same folder, save this as config.ru.
require 'appengine-rack' AppEngine::Rack.configure_app( :application => 'my-app', :version => 1 ) run lambda { [200, {}, "Hello World!"] }Run your app locally
$ dev_appserver.rb .
Deploy to App Engine
$ appcfg.rb update .