This is a very simple Python web applications serving a message board and a JSON formated API for Lametric Apps (www.lametric.com).
The web application is based on the Flask framework and prepared for deployment on Google App Engine.
You'll need the App Engine Python SDK as well as python 2.7 and pip 1.4 or later.
-
Install the App Engine Python SDK.
-
Install [Eclipse] (https://eclipse.org/).
-
Install [PyDev] (http://www.pydev.org/) plugin for Eclipse.
-
Download/clone this project and import in new Eclipse/Pydev project
-
Install flask + dependencies (local)
cd <project> pip install -r requirements.txt -t lib
Note: App Engine can only import libraries from inside your project directory.
-
Run this project locally from the command line:
dev_appserver.py .
Visit the application http://localhost: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)
-
Change application name in app.yaml then Deploy the application with
appcfg.py -A <your-project-id> --oauth2 update .
-
Congratulations! Your application is now live at your-app-id.appspot.com
based on appengine-flask-skeleton and inspired by Ogreman/whiteboard and by kenkam/msgbrd
Star this repo if you find it useful. Use the github issue tracker to give feedback on this repo.
Thomas Koch