Foto Purchase example Site
An Online Demonstration of FPyS with TurboGears?
FPeS is the first working example of FPyS with a live site. It is a drop dead simple application that is wired up to the Amazon FPS Sandbox instance that allows people to choose from several pictures and purchase the ability to download full sized versions of those pictures.
FPeS is *not* a legitimate ecommerce site. Users can't currently create real login accounts, no money ever exchanges hands, and there is no administrative interface. It's sole purpose for being is to prove that the FPyS library is workable in the most basic sense.
The application is deployed as a live demo, and it can be checked out of Subversion for installation and inspection by developers.
To check out a copy, do the following:
user@host $ svn co http://achievewith.us/svn/public/fpys/examples/FPeS/ user@host $ cd FPeS
Before running the application, open dev.cfg and edit the following properties appropriately:
- aws_access_key_id
- secret_access_key
- sqlalchemy.dburi (sqlite is the default)
Next up, run create_caller_token.py:
user@host $ python create_caller_token.py Your caller token: CALLER_TOKEN
Take the caller token that came out of the last step, open up dev.cfg again, and set the default_caller_token with your new found value.
At this point, the application should fire up:
user@host $ python start-fpes.py
