-
Notifications
You must be signed in to change notification settings - Fork 194
Launching
« back to DeveloperGuide |
---|
Here's how to launch Person Finder on your own site. (Google runs this code at http://google.org/personfinder but you can also run your own completely independent Person Finder site.)
Follow the steps at GettingStarted to get the code.
If you're not already signed up for App Engine, go to https://appengine.google.com/ and sign up, using a Google account.
Then, at http://appengine.google.com/, click the "Create Application" button, choose an identifier for your application, and follow the instructions. In the rest of this page below, APPID represents the application identifier you chose.
Run this command in your application directory:
gcloud app deploy app/app.yaml --project --no-promote
# Deploys your code to the application named
You'll be asked for your Google username and password, and in a few minutes, the current version of the code on your computer will be installed and running on Google App Engine.
Run this command in your application directory:
tools/console APPID.appspot.com
# Connects to the application named APPID
Person Finder can run multiple repositories (for example, if there are multiple crises, a single website running Person Finder can contain a separate database for each crisis). Choose a name for your new repostiory. For example, if you choose "abc", then your site will be available at "APPID.appspot.com/abc". At the Python prompt, type:
>>> Repo(key_name='REPO').put()
# Create a repository named REPO
Visit http://APPID.appspot.com/REPO/ to see your new site in action!
Visit http://APPID.appspot.com/REPO/admin to adjust the settings for your repository.
« back to DeveloperGuide |
---|