Giter Site home page Giter Site logo

app-generator / cookiecutter-flask-sites Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 25 KB

CookieCutter Template - Flask Websites | AppSeed

Home Page: https://blog.appseed.us/cookie-cutter-flask-generate-website-templates/

License: Other

Python 96.85% Shell 0.24% Dockerfile 2.91%
flask cookiecutter appseed

cookiecutter-flask-sites's Introduction

Flask Cookie-Cutter is an open-source cookiecutter template built on top of a simple Flask codebase with a modern design. For newcomers, Cookiecutter is a command-line utility that creates projects from project templates and Django is a leading web framework built by experts using a batteries-included concept.

  • UI Themes: Pixel Lite / Material Kit
  • Generated Projects Features:
    • Up-to-date dependencies: Flask 2.0.1
    • SCSS -> CSS compilation via Gulp
    • Persistence: SQLite / MySql / PostgreSQL
    • Session-Based Authentication, Forms validation
    • Deployment: Gunicorn / Nginx
    • One-line Docker setup
      • docker-compose up --build

Cookie-Cutter Flask - open-source generator provided by AppSeed.


Project Customization:

  • Project information: name, author, email
  • Database Engine: SQLite, MySql or PostgreSql
  • UI Themes:

Links


How to use it


Using cookiecutter tool

Step #1 - Create a virtual environment

$ # Virtualenv modules installation (Unix based systems)
$ virtualenv env
$ source env/bin/activate
$
$ # Virtualenv modules installation (Windows based systems)
$ # virtualenv env
$ # .\env\Scripts\activate 

Step #2 - Install Depenedencies

$ # Install modules - SQLite Storage
$ pip3 install -r requirements.txt

Step #3 - Generate the project

$ cookiecutter https://github.com/app-generator/cookiecutter-flask-sites.git

Using appseed-shell package

Step #1 - Install Dependencies

$ pip3 install cookiecutter
$ pip3 install GitPython
$ pip3 install appseed-shell

Step #2 - Launch the Python shell and generate the product

$ python
>>> from appseed_shell import generate_flask_sites
>>> generate_flask_sites()

Credits & Links

For more resources and support please access:



Cookie-Cutter Flask - Provided by AppSeed App Generator.

cookiecutter-flask-sites's People

Contributors

app-generator avatar

Stargazers

Talha Koc avatar  avatar Lukas Huber avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.