All Projects → afourmy → Flask Gentelella

afourmy / Flask Gentelella

Licence: mit
Gentelella template powered by Flask

Projects that are alternatives of or similar to Flask Gentelella

Qqzonemood
QQZone mood spider and analysis. QQ空间多线程爬虫和数据挖掘。提供线上服务,扫码登陆即可自动爬取和分析数据,还有网易云年度报告风格的数据展示;使用docker-compose打包程序,方便部署;额外提供QQ空间抽奖小程序。
Stars: ✭ 439 (-13.92%)
Mutual labels:  flask
Flask Vue Crud
Single Page App with Flask and Vue.js
Stars: ✭ 467 (-8.43%)
Mutual labels:  flask
Potion
Flask-Potion is a RESTful API framework for Flask and SQLAlchemy, Peewee or MongoEngine
Stars: ✭ 484 (-5.1%)
Mutual labels:  flask
Bootstrap Flask
Bootstrap 4 helper for Flask/Jinja2.
Stars: ✭ 441 (-13.53%)
Mutual labels:  flask
Full Stack
Full stack, modern web application generator. Using Flask, PostgreSQL DB, Docker, Swagger, automatic HTTPS and more.
Stars: ✭ 451 (-11.57%)
Mutual labels:  flask
Invenio
Invenio digital library framework
Stars: ✭ 469 (-8.04%)
Mutual labels:  flask
Flask Restful Example
flask后端开发接口示例,利用Flask开发后端API接口。包含基本的项目配置、统一响应、MySQL和Redis数据库操作、定时任务、图片生成、项目部署、用户权限认证、报表输出、无限层级生成目录树、阿里云手机验证码验证、微信授权、Celery、单元测试、Drone等模块。
Stars: ✭ 429 (-15.88%)
Mutual labels:  flask
Ihatemoney
A simple shared budget manager web application
Stars: ✭ 500 (-1.96%)
Mutual labels:  flask
Flack
Companion code to my PyCon 2016 "Flask at Scale" tutorial session.
Stars: ✭ 458 (-10.2%)
Mutual labels:  flask
Flask Monitoringdashboard
Automatically monitor the evolving performance of Flask/Python web services.
Stars: ✭ 483 (-5.29%)
Mutual labels:  flask
Mini Shop Server
基于 Flask 框架开发的微信小程序后端项目,用于构建小程序商城后台 (电商相关;rbac权限管理;附带自动生成Swagger 风格的API 文档;可作「Python 项目毕设」;慕课网系列)---- 相关博客链接:🌟
Stars: ✭ 446 (-12.55%)
Mutual labels:  flask
Flask Socketio
Socket.IO integration for Flask applications.
Stars: ✭ 4,523 (+786.86%)
Mutual labels:  flask
Beibq
基于flask开发类似gitbook的知识管理网站。 http://demo.beibq.cn
Stars: ✭ 480 (-5.88%)
Mutual labels:  flask
Maple Bbs
a forums system based on flask
Stars: ✭ 441 (-13.53%)
Mutual labels:  flask
Minimal Django
A lightweight Django project - because Django can be nearly as simple as a microframework
Stars: ✭ 490 (-3.92%)
Mutual labels:  flask
Sis
Simple image search engine
Stars: ✭ 438 (-14.12%)
Mutual labels:  flask
Flask Restplus Boilerplate
A boilerplate for flask restful web service
Stars: ✭ 466 (-8.63%)
Mutual labels:  flask
Swagger Py Codegen
a Python web framework generator supports Flask, Tornado, Falcon, Sanic
Stars: ✭ 508 (-0.39%)
Mutual labels:  flask
Cesi
CeSI is a web interface for managing multiple supervisors from the same place.
Stars: ✭ 500 (-1.96%)
Mutual labels:  flask
Flask reddit
Reddit clone in flask + python + nginx + https. View site:
Stars: ✭ 482 (-5.49%)
Mutual labels:  flask
status
master Build Status Coverage Status
develop Build Status Coverage Status

Flask Gentelella

Gentelella is a free to use Bootstrap admin template.

Gentelella Bootstrap Admin Template

This project integrates Gentelella with Flask using:

Flask-gentelella also comes with a robust CI/CD pipeline using:

  • The Pytest framework for the test suite (see the tests folder).
  • A PostgreSQL database (optional; see below for installation instructions).
  • Travis CI (automated testing)
  • Coverage to measure the code coverage of the tests.
  • Selenium to test the application with headless chromium.
  • A Dockerfile showing how to containerize the application with gunicorn, and a Docker image available on dockerhub, and integrated to the CI/CD pipeline (see instructions below).
  • A docker-compose file to start Flask-gentelella with nginx, gunicorn and a PostgreSQL database.

Here is an example of a real project implemented using Flask-Gentelella:

This project shows:

Run Flask Gentelella with a SQLite database

(Optional) Set up a virtual environment

1. Get the code

git clone https://github.com/afourmy/flask-gentelella.git
cd flask-gentelella

2. Install requirements

pip install -r requirements.txt

3. Set the FLASK_APP environment variable

(Windows) set FLASK_APP=gentelella.py
(Unix) export FLASK_APP=gentelella.py
(Powershell) $env:FLASK_APP = ".\gentelella.py"

4. Run the application

flask run --host=0.0.0.0

4. Go to http://server_address:5000/, create an account and log in

Run Flask Gentelella with a PostgreSQL database (Ubuntu)

1. Install a PostgreSQL database

sudo apt-get update
sudo apt-get install -y postgresql libpq-dev
sudo -u postgres psql -c "CREATE DATABASE gentelella;"
sudo -u postgres psql -c "CREATE USER gentelella WITH PASSWORD 'your-password';"
sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE gentelella TO gentelella;"

2. Export the following environment variables

export GENTELELLA_CONFIG_MODE=Production
export GENTELELLA_DATABASE_PASSWORD=your-password

3. Follow the steps described in the previous section

Run Flask Gentelella in a docker container

1. Fetch the image on dockerhub

docker run -d -p 5000:5000 --name gentelella --restart always afourmy/flask-gentelella

2. Go to http://server_address:5000/, create an account and log in

Run Flask Gentelella in a docker container with nginx and a PostgreSQL database

1. Get the code

git clone https://github.com/afourmy/flask-gentelella.git
cd flask-gentelella

2. Start all services

sudo docker-compose pull && sudo docker-compose build && sudo docker-compose up -d

3. Go to http://server_address, create an account and log in

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].