Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DEPRECATED in favor of https://github.com/abulte/flask-quickstart

Flask Bootstrap MongoEngine Fanstatic

Purpose

Bootstraps a simple Flask app with:

It is also Dotcloud-ready.

Standard usage

You need a running MongoDB server.

# […] create and activate a virtualenv
git clone https://github.com/abulte/Flask-Bootstrap-MongoEngine-Fanstatic.git
cd Flask-Bootstrap-MongoEngine-Fanstatic
pip install -r requirements.txt
python manage.py create_admin_user
python manage.py runserver

Go to http://localhost:4000. Default admin user/password is: admin@admin.com/secret.

Dotcloud usage

You need a Dotcloud (free) account.

git clone https://github.com/abulte/Flask-Bootstrap-MongoEngine-Fanstatic.git
cd Flask-Bootstrap-MongoEngine-Fanstatic
dotcloud create flaskmongo #answer Y
dotcloud push
# wait for the end of the build
dotcloud run data python manage.py create_admin_user

Features

  • Admin interface at /admin
  • WTForms example at /add
  • Login and logout at /login and /logout

TODO

  • Flask-Security
  • Debug-Toolbar
  • Blueprints?

About

Bootstraps a simple Flask app with: Twitter Bootstrap integration via Fanstatic. MongoEngine and WTForms via Flask-MongoEngine Administration interface via Flask-SuperAdmin

Resources

License

Releases

No releases published

Packages

No packages published