Skip to content
github
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Share the Sunshine README

Description

This Flask application drives the Share a Sunshine website and ecommerce functionality. It uses Stripe to enable payment processing, and Bootstrap for the visual grid and reponsive layout in addition to JS functionality. Bourbon is used for CSS3 mixins.

Structure

This application is laid out using the following conventions:

  • forms.py: Contains the "share" form and authentication form for reporting access
  • models.py: Contains the database models for CouponCodes, Products, Purchases, Users, Testimonials and Messages
  • views.py: Contains the view logic for the homepage, payment processing, thanks, terms and error pages as well as admin access for reporting
  • config.py: Contains app configuration information
  • util/assets.py: Contains the asset minifaction directives for CSS and JS files
  • runserver.py: Is used in development to fire up the development server (not used in production)
  • __init__.py: Fires the actual app for production use, and also contains error logging/reporting functions

Templates are the templates directory, and static files (js, css, images) are the the static directory.

All requirements are contained in the requirements.txt file.

Error reporting

Application errors are logged in a log file and are emailed to the admin set in the config file.

About

The Flask application driving the website for shareasunshine.com.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published