Student Obrok is a web app that displays affordable student meal deals on an interactive map. It's your go-to guide for budget-friendly dining around your location. ๐ฝ๏ธ๐
Make sure to read the ENV_TEMPLATES.md
Clone the project.
Run the commands:
#This will download and preprocess routing data for the map
./init-route-data.sh
#If you're runnng a production env and need an SSL cert run this first then down the container.
./init.sh ssl
#For development or production
./init.sh [dev|prod]#Make sure your prod env is running in the background and that you have cron installed & running
./init.sh prod
#Find the Absolute Path
cd /var/docker
pwd
#Verify the path
ls /var/docker/docker-compose-prod.yml
#Set Up the Cron Job to renew cert every 60 days at 5 am
crontab -e
0 5 1 */2 * /usr/bin/docker compose -f /var/docker/docker-compose-ssl.yml up certbot
#If your Docker Compose file needs environment variables:
0 5 1 */2 * . /path/to/envfile && /usr/bin/docker compose -f /var/docker/docker-compose-ssl.yml up certbot