This Python sample application uses the Flask framework and Bootstrap to build a simple, scalable customer signup form that is deployed via AWS Elastic Beanstalk or AWS CloudFormation. The application stores data in Amazon RDS MySQL, or optionally can use Amazon DynamoDB, and publishes notifications to the Amazon Simple Notification Service (SNS) when a customer fills out the form.
The code includes several Bootstrap themes from bootswatch.com. You can dynamically change the active theme by setting the THEME environment variable in the Elastic Beanstalk Management Console or setting OS environment variables imported by web server.
Installed themes include:
Similar to themes, you can control Flask debugging by toggling the FLASK_DEBUG env var from the Elastic Beanstalk Management Console or setting an OS environment variable imported by web server.