{"id":19297440,"url":"https://github.com/arionmiles/diomedes","last_synced_at":"2025-09-28T17:31:10.431Z","repository":{"id":41946351,"uuid":"163685304","full_name":"ArionMiles/Diomedes","owner":"ArionMiles","description":"Email alerts for your favorite movies about to hit theaters","archived":false,"fork":false,"pushed_at":"2022-12-08T01:40:23.000Z","size":153,"stargazers_count":11,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T15:47:04.015Z","etag":null,"topics":["django","docker","docker-compose","gunicorn","nginx","postgresql","redis"],"latest_commit_sha":null,"homepage":"https://diomedes.in","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArionMiles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-31T17:06:25.000Z","updated_at":"2023-12-20T09:13:43.000Z","dependencies_parsed_at":"2023-01-24T03:50:13.595Z","dependency_job_id":null,"html_url":"https://github.com/ArionMiles/Diomedes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArionMiles%2FDiomedes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArionMiles%2FDiomedes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArionMiles%2FDiomedes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArionMiles%2FDiomedes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArionMiles","download_url":"https://codeload.github.com/ArionMiles/Diomedes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234544436,"owners_count":18850155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","docker","docker-compose","gunicorn","nginx","postgresql","redis"],"created_at":"2024-11-09T23:04:54.295Z","updated_at":"2025-09-28T17:31:05.133Z","avatar_url":"https://github.com/ArionMiles.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diomedes\n\nSends email alerts for movie tickets as soon as they become available.\n\n# Components\n- Django\n- Celery\n- Gunicorn\n- Nginx\n- Redis\n- Docker\n\n# Setup\n\nThe project uses Mailgun for sending emails. You'll need a Mailgun API key.\n\nYou also need a Google OAuth2 app to use the Google Sign-in. Read how to get it setup from [django-allauth documentation](https://django-allauth.readthedocs.io/en/latest/providers.html#google).\n\nChange `example.env` to `.env`, fill in the necessary environment variables.\n\n## Running with Docker\nThe docker container runs using gunicorn by default and uses a Nginx server as a reverse-proxy to serve static files. \n\nIf you wish to run with default Django developement server, make the necessary changes in the [Dockerfile](Dockerfile)\n\nFor development, there's a separate compose file you can run with:\n`docker-compose -f docker-compose.dev.yml up`\n\n**NOTE:** Change the `defaultpass` in `docker-compose.yml` (Redis command and POSTGRES_PASSWORD) to something more secure and set the same in the `.env` file for `POSTGRES_PASSWORD`.\n\nChange `defaultpass` in `REDISTOGO_URL` to what you wrote in `docker-compose.yml` for Redis command\n\nStart the container in detached mode (recommended) using:\n\n`docker-compose up -d`\n\nCreate admin account:\n\n`docker exec -it diomedes_web python3 manage.py createsuperuser`\n\nFinally, populate the `Region` model by running:\n\n`docker exec -it diomedes_web python3 manage.py shell`\n\n```python\n\u003e\u003e\u003e from moviealert.utils import *\n\u003e\u003e\u003e save_region_data()\n\u003e\u003e\u003e save_subregion_data()\n\u003e\u003e\u003e save_theater_data()\n```\nThe last function will take some time, and may timeout sometimes, run it multiple times to make sure you have all the theater data.\n\nTo stop and remove all containers:\n`docker-compose down --remove-orphans`\n\n**NOTE:** Change the Google Analytics tracking code in [base.html](./moviealert/templates/base.html) with your own if you are hosting the project publically somewhere else so that your traffic doesn't get logged with mine.\n\nInspired by [django_moviealert](https://github.com/iAmMrinal0/django_moviealert)\n\n# License\n[MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farionmiles%2Fdiomedes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farionmiles%2Fdiomedes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farionmiles%2Fdiomedes/lists"}