Skip to content

simple flask web app to provide message board for lametric device

Notifications You must be signed in to change notification settings

tommykoch/msgboard

Repository files navigation

Python Flask Message Board for Lametric (for Google App Engine)

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.

Requirements

You'll need the App Engine Python SDK as well as python 2.7 and pip 1.4 or later.

Run Locally

  1. Install the App Engine Python SDK.

  2. Install [Eclipse] (https://eclipse.org/).

  3. Install [PyDev] (http://www.pydev.org/) plugin for Eclipse.

  4. Download/clone this project and import in new Eclipse/Pydev project

  5. 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.

  6. 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.

Deploy

To deploy the application:

  1. Use the Admin Console to create a project/app id. (App id and project id are identical)

  2. Change application name in app.yaml then Deploy the application with

    appcfg.py -A <your-project-id> --oauth2 update .
    
  3. Congratulations! Your application is now live at your-app-id.appspot.com

Credits

based on appengine-flask-skeleton and inspired by Ogreman/whiteboard and by kenkam/msgbrd

Feedback

Star this repo if you find it useful. Use the github issue tracker to give feedback on this repo.

Author

Thomas Koch

About

simple flask web app to provide message board for lametric device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published