Make a .env file like .env.example
Import Database:
- Linux:
pg_restore -c -i -U <username> -d dvdrental -v "/location/to/dvdrental.tar" -W - Windows: Import via pgadmin
pipenv shell
pipenv install
python app.py
To schedule the cron job:
- Windows: Use
Task Schedulerand make acron.batfile as described incron.bat.example - Linux: Use
crontab