if [ ! -d env ]; then
    python -m venv env
    source env/bin/activate
    python -m pip install -r requirements.txt
fi

if [ ! -f movielist.sqlite ]; then
    source env/bin/activate
    python -m flask --app kinolist init-db
fi