Skip to content

A starter template powered by Tailwind CSS utility-first framework.

Notifications You must be signed in to change notification settings

level09/landing-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Enferno v2.2

FOSSA Status

A framework for the next decade, this is a collection of cutting-edge libraries and tools based on Flask framework, that will help build any website or web app (SAAS) extremely fast !

http://enferno.io

Project Enferno

What's New

  • Docker! you can now test the framework directly using docker-compose
  • Removed MongoDB in favour of Postgresql (or Mysql/sqlite) with sqlalchemy.
  • No more front-end bundlers (feel free to integrate your own : webpack, gulp, parcel, etc ..)
  • Upgraded all python libraries (also based on flask 1.x)
  • More tutorials will be coming soon.

Prerequisites

  • Redis
  • Postgresql (Default database) sqlite can be used for dev
  • Python Imaging (jpeg/png) support if you would like to work with images

Quickstart

The fastest and easiest way to run the system is by using docker-compose:

::

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

$ cd enferno

$ docker-compose up

https://asciinema.org/a/219755

Alternatively, you can install it locally:

::

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

$ cd enferno 

$ virtualenv env

$ source env/bin/activate 

$ pip install -r requirements.txt

Edit the settings.py and change the values to suit your needs, specifically you can change Flask security settings, security keys, Redis DB, Mysql settings, and Flask mail.

If you are installing Enferno locally, you will also need to replace "redis" and "postgres" with "localhost" in connection strings.

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

$ export FLASK_APP=run.py
$ flask create-db
$ flask install 

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

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

$ flask run

Features

  • Flask based
  • Fully working user registration and authentication + user roles via Flask security
  • Memory caching via Redis and Flask caching
  • Command line scripting via Click
  • Relational database support with sql alchemy ORM
  • Background tasks via Celery
  • Email integration via Flask Mail
  • Files are structured based on best practices by utilizing Flask blueprints and development/production configuration

Showcase

Some of the websites running on Enferno:

  • Seven Tides <http://seventides.com>_
  • DUKES Hotel <http://dukeshotel.com>_

Inspiration & Credits

  • Cookiecutter Flask <https://github.com/sloria/cookiecutter-flask>_
  • Flask Security <https://pythonhosted.org/Flask-Security/>_
  • Flask WTF <https://flask-wtf.readthedocs.org/en/latest/>_
  • Celery Task Queue <http://www.celeryproject.org/>_
  • Redis <http://redis.io/>_
  • Flask Mail <https://pythonhosted.org/flask-mail/>_
  • Flask Documentation <http://flask.pocoo.org/docs/>_
  • Celery Task Queue <http://www.celeryproject.org/>_

License

MIT licensed.

About

A starter template powered by Tailwind CSS utility-first framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published