-
Install the App Engine Python SDK. See the README file for directions. You'll need python 2.7 and pip 1.4 or later installed too.
-
Clone this repo with
git clone https://github.com/pigeonflight/channelapidemo.git
-
Install dependencies in the project's lib directory. Note: App Engine can only import libraries from inside your project directory.
cd channelapidemo pip install -r requirements.txt -t lib
-
Run this project locally from the command line:
dev_appserver.py . --host 0.0.0.0.
Visit the application on port 8080 http://localhost:8080 On a cloud platform like Codio.com or Nitrous.io this would be {{yourdomain}}:8080
See the development server documentation for options when running dev_appserver.
To deploy the application:
-
Use the Admin Console to create a project/app id. (App id and project id are identical)
-
appcfg.py -A <your-project-id> --oauth2 update .
-
Congratulations! Your application is now live at your-app-id.appspot.com
See the Third party libraries page for libraries that are already included in the SDK. To include SDK libraries, add them in your app.yaml file. Other than libraries included in the SDK, only pure python libraries may be added to an App Engine project.
See CONTRIB.md
See LICENSE
David Bain