Skip to content

scf-samples/bottle-currency

Repository files navigation

Currency Converter [BROKEN]

The currency exchange data services for this app are no longer available. The app runs, but does not provide exchange rates.

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 SCF

$ cf create-service redis <plan> currency
$ git clone git://github.com/scf-samples/bottle-currency.git
$ cd bottle-currency
$ cf push 

Without SCF

It is possible to run the app without 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.

About

Bottle framework demo application using Redis [BROKEN]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors