Currency Converter is a web app for converting currencies.
- ActivePython - http://www.activestate.com/activepython
- Bottle web framework - http://bottlepy.org/
- Redis NoSQL database - http://redis.io/
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.
Server side:
$ kato role add redis # if not present
Client side:
$ stackato push -n
Then open application in a browser.
$ stackato open
It is possible to run the app without HPE Helion Stackato, if necessary.
-
Install and start Redis database, see http://redis.io for details
-
Install dependencies:
$ pypm install -r requirements.txt
-
Run the app:
$ SELFHOST=1 python ./wsgi.py
Then open http://127.0.0.1 in a browser.