All Projects → level09 → Enferno

level09 / Enferno

Licence: mit
A Python framework based on Flask microframework, with batteries included, and best practices in mind.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Enferno

Treefrog Framework
TreeFrog Framework : High-speed C++ MVC Framework for Web Application
Stars: ✭ 885 (+129.87%)
Mutual labels:  mysql, redis, postgresql, webframework
Full Stack
Full stack, modern web application generator. Using Flask, PostgreSQL DB, Docker, Swagger, automatic HTTPS and more.
Stars: ✭ 451 (+17.14%)
Mutual labels:  sqlalchemy, postgresql, flask, celery
Docker Flask Celery Redis
Docker-Compose template for orchestrating a Flask app with a Celery queue using Redis
Stars: ✭ 165 (-57.14%)
Mutual labels:  redis, flask, celery, docker-compose
Docker Superset
Repository for Docker Image of Apache-Superset. [Docker Image: https://hub.docker.com/r/abhioncbr/docker-superset]
Stars: ✭ 86 (-77.66%)
Mutual labels:  mysql, redis, celery, docker-compose
Devilbox
A modern Docker LAMP stack and MEAN stack for local development
Stars: ✭ 3,598 (+834.55%)
Mutual labels:  mysql, redis, postgresql, docker-compose
Docker Laravel
🐳 Docker Images for Laravel development
Stars: ✭ 101 (-73.77%)
Mutual labels:  mysql, redis, postgresql, docker-compose
Kickoff Docker Php
🐳 🐘 🚀 Easily setup a PHP project with Docker
Stars: ✭ 213 (-44.68%)
Mutual labels:  mysql, redis, docker-compose
Octosql
OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
Stars: ✭ 2,579 (+569.87%)
Mutual labels:  mysql, redis, postgresql
Docker Lnmp
🐋Docker-compose(Linux,Nginx,MySQL,PHP7,Redis)
Stars: ✭ 244 (-36.62%)
Mutual labels:  mysql, redis, docker-compose
Qb
The database toolkit for go
Stars: ✭ 524 (+36.1%)
Mutual labels:  sqlalchemy, mysql, postgresql
Eralchemy
Entity Relation Diagrams generation tool
Stars: ✭ 767 (+99.22%)
Mutual labels:  sqlalchemy, mysql, postgresql
Tedivms Flask
Flask starter app with celery, bootstrap, and docker environment
Stars: ✭ 142 (-63.12%)
Mutual labels:  sqlalchemy, flask, celery
Endb
Key-value storage for multiple databases. Supports MongoDB, MySQL, Postgres, Redis, and SQLite.
Stars: ✭ 208 (-45.97%)
Mutual labels:  mysql, redis, postgresql
Back End Interview
后端面试题汇总(Python、Redis、MySQL、PostgreSQL、Kafka、数据结构、算法、编程、网络)
Stars: ✭ 188 (-51.17%)
Mutual labels:  mysql, redis, postgresql
Dice
前后端分离Blog系统,采用Nuxt、Vue 2.x 和 SpringBoot 全家桶。
Stars: ✭ 222 (-42.34%)
Mutual labels:  mysql, redis, docker-compose
Docker Compose
一些基础服务的docker-compose配置文件,方便在一台新电脑上快速开始工作
Stars: ✭ 163 (-57.66%)
Mutual labels:  mysql, redis, docker-compose
Pifpaf
Python fixtures and daemon managing tools for functional testing
Stars: ✭ 161 (-58.18%)
Mutual labels:  mysql, redis, postgresql
Sqlfiddle3
New version based on vert.x and docker
Stars: ✭ 242 (-37.14%)
Mutual labels:  saas, mysql, postgresql
Yiigo
🔥 Go 轻量级开发通用库 🚀🚀🚀
Stars: ✭ 304 (-21.04%)
Mutual labels:  mysql, redis, postgresql
Shell
Infrastructure Management Shell - Linux
Stars: ✭ 381 (-1.04%)
Mutual labels:  mysql, redis, postgresql

Project Enferno

License: MIT

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

What's New

  • Better configuration management with python-dotenv support
  • Favicon generator: just put your logo in enferno/src/favicons dir and automatically generate all favicons adn presets for all platforms.

Features

  • A Flask based opinionated framework with pre-installed batteries and best practices in mind.
  • Fully working user registration and authentication, user roles via Flask security
  • Redis: can be used for Flask caching, or any in-memory/queuing/key-value operations needed.
  • Command line scripting via Click, feel free to build your own commands easily.
  • Relational database support with sqlalchemy ORM
  • Background tasks via Celery
  • Email integration via Flask Mail
  • Vue framework and npm scripts with pre-configured asset bundling.
  • Sample Vue component (front-page) to help you get started.

Prerequisites

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

Quickstart

$ git clone [email protected]: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, copy or rename the file (.env-sample) to (.env) and adjust the settings inside, then run

flask create-db
flask install 

and follow the instructions, that will create your database tables, and first admin user and role.

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

$ flask run

to use Vue and Parcel bundler for development:

$ npm install -g parcel-bundler
$ npm install
$ npm run watch

to build for production run:

$ npm run build 

Favicons Generator

To use the favicons generator, just replace enferno/src/favicons/enferno.svg with your own logo and run:

$ npm run favicons 

A full set of favicons will be generated inside enferno/static/favicons/ directory.

feel free to modify the script inside favicons.js to fit your needs.

Running Celery

celery -A enfenro.tasks worker

you can add -b to activate Celery heartbeat (periodic tasks)

A sample task that runs within the app context has been prepared for you within the enfenro/tasks/__init__.py file, this is helpful if you have background tasks that interact with your SQLAlchemy models.

Using Docker

Feel free to adjust Docker settings inside the docker-compose.yml and Dockerfile / .env file. then run:

$ docker-compose up

https://asciinema.org/a/219755

Looking for more?

check out Anymal.io which includes pre-configured Vuetify backend, User management/auth fully skinned based on Material Design, and pre-configured Stripe membership integration.

Showcase

Some of the websites running on Enferno:

Inspiration & Credits

License

MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].