Skip to content
/ angya Public

Angya is a travel router project for the T-111.4360 Design of WWW Services- course

License

Notifications You must be signed in to change notification settings

susi/angya

Repository files navigation

Angya

Angya is a travel router project for the T-111.4360 Design of WWW Services- course

installation

Angya is desgned to run in Google Appengine. Please follow these instructions to create your own Angya.

Run Locally

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

  2. Clone this repo

  3. 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
    
  4. Run this project locally from the command line:

    dev_appserver.py .
    

Visit the application http:https://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. Deploy the application with
    appcfg.py -A angya-travel --oauth2 update .
    
  3. 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.

Dependencies

Depends on flask, and it's dependencies. Installing Flask will bring in those dependancies too.

Refer to flask documentation for more on Flask: http:https://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.

Licensing

See LICENSE

About

Angya is a travel router project for the T-111.4360 Design of WWW Services- course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages