norio (owner)

Revisions

gist: 217566 Download_button fork
public
Public Clone URL: git://gist.github.com/217566.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$ 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 .