{"id":18557803,"url":"https://github.com/europ/lunch","last_synced_at":"2026-04-29T23:31:52.135Z","repository":{"id":68438842,"uuid":"296617383","full_name":"europ/lunch","owner":"europ","description":"containerized daily menu scraper and visualizer","archived":false,"fork":false,"pushed_at":"2020-11-20T11:15:55.000Z","size":2399,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T14:11:48.896Z","etag":null,"topics":["brno","daily","docker","docker-compose","lunch","menu","rails","restaurant","ruby","scraper","visualizer"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/europ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-18T12:39:19.000Z","updated_at":"2022-04-05T16:13:03.000Z","dependencies_parsed_at":"2023-02-21T16:30:20.266Z","dependency_job_id":null,"html_url":"https://github.com/europ/lunch","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/europ/lunch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Flunch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Flunch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Flunch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Flunch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/europ","download_url":"https://codeload.github.com/europ/lunch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Flunch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["brno","daily","docker","docker-compose","lunch","menu","rails","restaurant","ruby","scraper","visualizer"],"created_at":"2024-11-06T21:38:02.564Z","updated_at":"2026-04-29T23:31:52.103Z","avatar_url":"https://github.com/europ.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lunch\n\nDaily menu scraper and visualizer built on top of ruby on rails hosted in a container behind a reverse proxy container provided by nginx.\n\n## Schema\n\n![schema.png](.other/schema.png)\n\n## Setup\n\n### Server\n\nInstructions how to host this multicontainer application on a server with a specific domain name including SSL certificates.\n\n#### Prerequisities\n\n* domain name\n* SSL certificate\n* [docker-compose](https://docs.docker.com/compose)\n    * [docker](https://docs.docker.com/engine)\n\n#### Instructions\n\n1. configure enviroment\n    1. run `cp .env.example .env`\n    1. add your domain name to `.env` file\n1. add your SSL certificate files to `proxy/certs/`\n    * add your CRT file as `lunch.crt`(`proxy/certs/lunch.crt`)\n    * add your KEY file as `lunch.key`(`proxy/certs/lunch.key`)\n1. build the application via `docker-compose build`\n1. start the application via `docker-compose up -d`\n\n### Local\n\nInstructions how to launch locally rails application only.\n\n#### Prerequisities\n\nIt is recommended to use [rbenv/rbenv](https://github.com/rbenv/rbenv) with [rbenv/ruby-build](https://github.com/rbenv/ruby-build).\n\nFor instructions using docker-compose:\n\n| software       | version  |\n| -------------- | -------- |\n| docker         | 19.03.13 |\n| docker-compose | 1.26.1   |\n\nFor instructions using ruby:\n\n| software | version |\n| -------- | ------- |\n| ruby     | 2.7.1   |\n| gem      | 3.1.2   |\n| bundle   | 2.1.4   |\n| rails    | 6.0.3.3 |\n\n#### Instructions\n\nUsing docker-compose:\n\n1. run `docker-compose up -d lunch`\n1. find the container's IP address via `docker inspect lunch | sed -nr 's/^\\s*\"IPAddress\": \"([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)\",$/\\1/p'`\n1. visit `http://IP:3000`\n\nUsing ruby:\n\n1. change directory to lunch via `cd lunch`\n1. install dependencies via `bundle install`\n1. start the application via `bundle exec rails server`\n    * to specify custom IP address use `-b \u003cIP\u003e`\n    * to specify custom port number use `-p \u003cNUM\u003e`\n1. visit `http://localhost:3000`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feurop%2Flunch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feurop%2Flunch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feurop%2Flunch/lists"}