Skip to content

This boilerplate is for beginners to quickly set up a simple web application with flask.

License

Notifications You must be signed in to change notification settings

valanm22/flask-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-boilerplate

This boilerplate is for beginners to quickly set up a simple web application with flask.

Getting Started

Prerequisites

  • Python 3.3 or higher

Project setup

# cloning the repo
$ git clone https://github.com/valanm22/flask-boilerplate.git
# move to the project folder
$ cd flask-boilerplate

Activating virtual environment

# 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

Running app

# exporting app to environment variable
$ set FLASK_APP=run.py
# mentioning environment type
$ set FLASK_ENV=development
# running app
$ flask run

License

This program is a free software under MIT license. Please see the LICENSE file in my repository for more info.

About

This boilerplate is for beginners to quickly set up a simple web application with flask.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published