Skip to content

zettlunic/Flask-Bootstrap-MongoEngine-Fanstatic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published