git clone https://github.com/luovkle/flask-todo-app.git
cd flask-todo-app
Example with pip and venv.
python -m venv .venv
source .venv/bin/activate
pip install -r config_requirements.txt
chmod +x config.py
./config.py
docker-compose up -d
git clone https://github.com/luovkle/flask-todo-app.git
cd flask-todo-app
Example with docker.
docker run --rm -d -p 5432:5432 -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_DB=app postgres:13.3-alpine
Example with pip and venv.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Example with bash/zsh shell.
export FLASK_APP=app.run.py
export FLASK_RUN_PORT=8080
export FLASK_DATABASE_HOST="127.0.0.1"
export FLASK_DATABASE_USER="user"
export FLASK_DATABASE_PASSWORD="password"
export FLASK_DATABASE="app"
flask init-db
flask run