git clone https://github.com/liara-cloud/flask-getting-started.git
cd flask-getting-started
git checkout blog
- if you're using Linux, run:
cp .env.example .env
- or if you're using windows, just rename .env.example to .env
- configure your environment variables
mkdir uploads
python -m venv .venv
- if you're using Linux, run:
source .venv/Scripts/activate
- or if you're using windows, run:
.venv\Scripts\activate
pip install -r requirements.txt
python app.py