Created
October 24, 2009 15:05
-
-
Save norio/217566 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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