-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ryan Wolf
committed
Apr 11, 2012
1 parent
3859231
commit 28c429b
Showing
3 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Setup | ||
=== | ||
|
||
# Get your [dev environment](https://developers.google.com/appengine/docs/go/gettingstarted/devenvironment) setup for GAE. It comes with a version of Go, so don't worry about compiling/installing that. | ||
# Clone this repository, cd into the directory. | ||
# $ cp app.yaml.example app.yaml | ||
# Edit app.yaml with the app name you plan to use. | ||
|
||
Running locally | ||
=== | ||
|
||
# Start the dev server: $ dev_appserver.py . | ||
# Seed the server with starting data: $ curl whatever:bees@localhost:8080/yes | ||
# Visit localhost:8080 in your browser. | ||
|
||
Your novelty server is ready to go. The answer is current set to "yes", and the | ||
password for changing the answer is "bees". | ||
|
||
To change the answer to "no", simply visit larry:bees@localhost:8080/no | ||
|
||
Running on appspot | ||
=== | ||
|
||
# Follow the [registration instuctions](https://developers.google.com/appengine/docs/go/gettingstarted/uploading) for GAE. | ||
# Make sure that the app id in app.yaml matches you new app id. | ||
# Push the app: $ appcfg.py . | ||
# Seed the server with starting data. I'd suggest a different password than | ||
"bees": $ curl moe:$PASSWORD@$APPID.appspot.com/yes | ||
# Visit $APPID.appspot.com in your browser to behold your new novelty server. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
* readme | ||
* use post instead of get for editing | ||
* basic auth for editing | ||
* backend replication to survive instance restarts | ||
* styling for index.template | ||
* make sure we're sending right content types | ||
* html error pages | ||
* env variables for question, basic auth header | ||
* salt password? |
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