No description or website provided.
Python JavaScript CSS Smarty
Latest commit eea4d68 Nov 26, 2015 @btat btat Update favicon
Permalink
Failed to load latest commit information.
static
views
COPYRIGHT.txt
LICENSE.txt added a bottle/redis currency converter demo app Jun 10, 2011
Procfile Use non-legacy buildpack Aug 20, 2014
README.md
currencies.dat
manifest.yml
requirements.txt Use non-legacy buildpack Aug 20, 2014
wsgi.py

README.md

Currency Converter

Purpose

Currency Converter is a web app for converting currencies.

Technology Stack

The app uses Foxrate XML-RPC API to obtain actual currency exchange rates. The data is retained in the local Redis database for 3 hours.

Usage

Deploy on HPE Helion Stackato

Server side:
$ kato role add redis # if not present

Client side:
$ stackato push -n

Then open application in a browser.

$ stackato open

Without HPE Helion Stackato

It is possible to run the app without HPE Helion Stackato, if necessary.

  1. Install and start Redis database, see http://redis.io for details

  2. Install dependencies:

    $ pypm install -r requirements.txt

  3. Run the app:

    $ SELFHOST=1 python ./wsgi.py

Then open http://127.0.0.1 in a browser.