A skeleton for building Python applications on Google App Engine with the Flask micro framework and the Mailjet API.
-
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/GuillaumeBadi/Python-App-Engine.git
-
Install dependencies in the project's lib directory. Note: App Engine can only import libraries from inside your project directory.
cd appengine-python-flask-skeleton pip install -r requirements.txt -t lib
-
Run this project locally from the command line:
dev_appserver.py .
Visit the application http://localhost:8080 Got to /send
To deploy the application:
-
Use the Admin Console to create a project/app id. (App id and project id are identical)
-
appcfg.py -A second-core-93420 update app.yaml
-
Congratulations! Your application is now live at http://second-core-93420.appspot.com/
Star this repo if you found it useful. Use the github issue tracker to give feedback on this repo.
Guillaume Badi