Skip to content

Instantly share code, notes, and snippets.

@norio
Created October 24, 2009 15:05
Show Gist options
  • Save norio/217566 to your computer and use it in GitHub Desktop.
Save norio/217566 to your computer and use it in GitHub Desktop.
$ sudo gem install google-appengine -V
$ mkdir hello && cd hello
$ appcfg.rb gem install sinatra -V
$ cat > config.ru <<EOF
require 'appengine-rack'
require 'hello'
AppEngine::Rack.configure_app(
:application => 'your-app-id',
:version => 1)
run Sinatra::Application
EOF
$ cat > hello.rb <<EOF
require 'rubygems'
require 'sinatra'
get '/' do "Hello GAE!! #{Time.now}" end
EOF
$ appcfg.rb update .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment