This project is a basic starting point for a Flask project containing Twitter Bootstrap.
-
Clone Github repo
git clone git://github.com/davidsackett/flask-bootstrap.git <project name>
-
Setup the Virtual Environment (must have pip and virtualenv installed)
cd <project name> cd .venv virtualenv . . ./bin/activiate # install dependencies (just Flask right now) pip install -r requirements.txt cd ..
-
Run the application
python app.py
-
Open your browser to http://127.0.0.1:5000/
app.py
- basic Flask appstatic/css/
- your css filesstatic/js/
- your js filesstatic/img/
- your image filesstatic/vendor/
- static files from vendorstemplates
- Your Jinja 2 templates