/enferno

A Flask-based Framework for the Next Decade.

Primary LanguagePython

Project Enferno (NoSQL)

A framework for the next decade, this is a collection of cutting-edge libraries and tools based on Flask framework.

http://enferno.io

To learn more about the framework and its use cases, you can follow my articles on Medium :

http://medium.com/@level09/

If you are prefer to use a SQL compatible backend, please check out the "sql" branch.

Tutorials

Prerequisites

  • MongoDB
  • Redis
  • Python Imaging (jpeg/png) support if you would like to work with images
  • Node.js and npm (for front-end stuff)

Quickstart

$ git clone git@github.com:level09/enferno.git

$ cd enferno

$ virtualenv env

$ source env/bin/activate

$ pip install -r requirements.txt

$ npm install

After that, you should create your admin user, run the following command:

$ export FLASK_APP=enferno.py
$ flask install

and follow the instructions, this will create your first user and first admin role.

Edit the settings.py and change the settings to suit your needs, sepcifically you can change Flask security settings, security keys, Mongodb settings,and Flask mail.

to run the system, you can use a management command:

$ flask run

and

$ gulp

Features

  • Flask based
  • Fully working user registration and authentication + user roles via Flask security
  • Memory caching via Redis and Flask cache
  • Command line scripting via Flask click
  • Automatic assets bundling, minification and sass support via gulp
  • Mongodb and Mongoengine ORM
  • Background tasks via Celery
  • Email integration via Flask Mail
  • Best practices by utilizing Flask blueprints and development/production configuration

Showcase

Some of the websites running on Enferno:

Inspiration & Credits

License

MIT licensed.