Commit 8b3c56f1 authored by Brad Covey's avatar Brad Covey

Initial commit, still lacking a lot of functionality and documentation

parents
# Paper Bag
The quick solution to your Flask problems
## Project Structure
### config.py
### requirements.txt
A list of required python packages
### run.py
A short script to fire up a development server(not to be used for production)
### instance/__init__.py
Instance variables. database passwords, API keys, etc. 'instance/' should be in your .gitignore
### appname/
This is the meat of your project, rename this directory to match your project.
### appname/static
Static content: images, css, javascript, etc.
### appname/templates
This is where your jinja2 templates will go
### appname/forms.py
### appname/models.py
Your models
### appname/views.py
Your views
Note: this boilerplate project and documentation will be improved over time
\ No newline at end of file
from flask import Flask
app = Flask(__name__)
import appname.views
\ No newline at end of file
from . import app
@app.route('/')
def index():
return "Hello World!"
from appname import app
app.run(debug=True)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment