mikedesu / autoflask.sh

A bash script designed to automate the creation of new Flask pipenv projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

autoflask.sh

bash script that automatically creates a new Flask project folder

To run:

$ ./autoflask.sh <project_directory> <app_name>
$ pipenv shell
$ (app_name) FLASK_APP=<app_name>.py
$ (app_name) flask run

This is extremely bare-bones but is designed to start taking care of the initial heavy-lifting when creating a new project from scratch.

There are other things to be added here but this is a start!

About

A bash script designed to automate the creation of new Flask pipenv projects

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%