Getting started

We'll build a simple "Hello World" application.

  1. Install the gems

    $ sudo gem install google-appengine
  2. Assign an app identifier

    Simply create an application at appsopt.com,
    we'll refer to that as my-app in this document.

  3. Create a folder for your app

    $ mkdir my-app; cd my-app;
  4. 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!"] }
    
  5. Run your app locally

    $ dev_appserver.rb .
  6. Deploy to App Engine

    $ appcfg.rb update .