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 Scheduler
and make acron.bat
file as described incron.bat.example
- Linux: Use
crontab