Angya is a travel router project for the T-111.4360 Design of WWW Services- course
Angya is desgned to run in Google Appengine. Please follow these instructions to create your own Angya.
-
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
-
Install dependencies in the project's lib directory. Note: App Engine can only import libraries from inside your project directory.
cd angya pip install -r requirements.txt -t lib
-
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)
- Deploy the
application with
appcfg.py -A angya-travel --oauth2 update .
- Congratulations! Your application is now live at angya-travel.appspot.com
Change angya-travel to your own app id for your own instance. The above commands are there for the Angya team mambers.
Depends on flask, and it's dependencies. Installing Flask will bring in those dependancies too.
Refer to flask documentation for more on Flask: http://flask.pocoo.org/ Site structure
The main app is in angya.py. This app is responsible for dispatching the request to the proper handlers.
For example the /map url is handle by the Map class defined in map.py.
Under static we have the css and js files and html templates are under templates.
See LICENSE