This boilerplate is for beginners to quickly set up a simple web application with flask.
- Python 3.3 or higher
# cloning the repo
$ git clone https://github.com/valanm22/flask-boilerplate.git
# move to the project folder
$ cd flask-boilerplate
# creating venv
$ python3 -m venv your_env_name
# activating the venv
$ your_env_name\Scripts\activate
# installing the required packages
$ pip install -r requirements.txt
# exporting app to environment variable
$ set FLASK_APP=run.py
# mentioning environment type
$ set FLASK_ENV=development
# running app
$ flask run
This program is a free software under MIT license. Please see the LICENSE file in my repository for more info.