- Python > 3.5
- pip latest version
- git
- The project is built on Linux Kernet | Ubuntu OS
- Create a directory
mkdir <myproject>
cd <myproject>
- Clone the repository
git clone https://github.com/genie360s/FlaskTemplate
- Create a virtual environment
python3 -m venv .venv
- Activate the virtual environment
source .venv/bin/activate
- Install python packages from
requirements.txt
pip install -r requirements.txt
- Instantiate the sqlite3 database
flask --app flaskr init-db
- Run the Flask development server, with debug option
flask --app flaskr run --debug
- Hooray 🚀 ! Now you are ready to get started tweaking the project.
Created By: Alex Mkwizu @genie360s
Other documentations: