Skip to content

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. ๐Ÿฝ๏ธ๐ŸŽ“

License

Notifications You must be signed in to change notification settings

LibreCollab/student-obrok

Repository files navigation

Student Obrok

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. ๐Ÿฝ๏ธ๐ŸŽ“

Setup Guide

Configuring ENV variables:

Make sure to read the ENV_TEMPLATES.md

Using docker (recommended):

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]

Configuring a self renewing SSL for HTTPS:

#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

About

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. ๐Ÿฝ๏ธ๐ŸŽ“

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published