This project is for learning purpose. The idea behind the project is to have simple cat social media with voting for cats and the cat which receives the most likes for the day will be the cat of the day!
- Setup .env file with variables:
- DB_USER
- DB_PASSWORD
- DB_HOST
- DB_NAME
- JWT_KEY
- NEXTCLOUD_USER
- NEXTCLOUD_PASSWORD
- Export environment variable in Powershell (for Windows users, for other OS check the official Flask documentation)
$env:FLASK_APP = "main.py"
- On local use
flask run --reload --debug
- For production use Gunicorn.