elastic-flask-baseline
A baseline Flask + Amazon FPS application suitable for use on Amazon Elastic Beanstalk.
The code here is kept as minimal as possible, while still demonstrating the critical points/differences that running on Elastic Beanstalk requires.
Things you will need:
- Flask: http://flask.pocoo.org
- AWS 'eb' tool: http://aws.amazon.com/developertools/351/
- Your AWS API keys: https://aws-portal.amazon.com/gp/aws/securityCredentials
- Git: http://git-scm.com
- Boto: https://github.com/boto/boto
Quickstart
- Install the 'eb' tool.
- Git clone this repository.
- Run 'eb init' in the repository, and answer the questions, providing your API Key, etc.
- Run 'eb start' in the repository, and wait for it to complete.
- Run 'git aws.push' in the repository.
- Run 'eb status' in the repository, and wait for it to return 'Green' status.
- Browse to the URL reported by 'eb status', and be amazed at your autoscaling, crazy, cloud-based application!
- Fill in your Amazon keys and receive payments
History
Largely built on top of Adam Crosby's https://github.com/adamcrosby/elastic-flask-baseline as described in his blog post.
Michael Cariaso added some FPS handling.
Wanted
Verify the signature of the success message to ensure it comes from amazon.
Add bitcoin and paypal payment methods