{"id":22242686,"url":"https://github.com/gabrielecanepa/esselunga","last_synced_at":"2026-04-13T02:06:38.608Z","repository":{"id":40162774,"uuid":"252246622","full_name":"gabrielecanepa/esselunga","owner":"gabrielecanepa","description":"Rails application developed by #batch380 @lewagon","archived":false,"fork":false,"pushed_at":"2022-10-06T10:32:29.000Z","size":1256,"stargazers_count":0,"open_issues_count":6,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T09:42:05.557Z","etag":null,"topics":["heroku","lewagon","lewagon-italy","rails","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"https://lewagon.com","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/gabrielecanepa.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}},"created_at":"2020-04-01T17:47:07.000Z","updated_at":"2023-10-13T14:44:31.000Z","dependencies_parsed_at":"2022-08-26T11:51:34.265Z","dependency_job_id":null,"html_url":"https://github.com/gabrielecanepa/esselunga","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/gabrielecanepa%2Fesselunga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielecanepa%2Fesselunga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielecanepa%2Fesselunga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielecanepa%2Fesselunga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrielecanepa","download_url":"https://codeload.github.com/gabrielecanepa/esselunga/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245449531,"owners_count":20617187,"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":["heroku","lewagon","lewagon-italy","rails","ruby","ruby-on-rails"],"created_at":"2024-12-03T04:16:49.809Z","updated_at":"2026-04-13T02:06:38.565Z","avatar_url":"https://github.com/gabrielecanepa.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Esselunga\n\nThis is an app to find out which Esselunga supermarkets are open and the products currently available 🧻\n\n![](./app/assets/images/screenshot.png)\n\n## Setup\n\n```sh\n# 1. Clone and go to the repo\ngit clone git@github.com:gabrielecanepa/esselunga ~/code/$GITHUB_USERNAME\ncd ~/code/$GITHUB_USERNAME/esselunga\ntouch .env # create a private env file\necho \".env\" \u003e\u003e .gitignore # and make git ignore it\n\n# 2. Install gems and packages\nbundle\nyarn\n\n# 3. Create db and fake records\nrails db:create db:migrate db:seeds\n```\n\n## Run\n\nIn order to upload and get images, you need to provide a [Cloudinary](https://cloudinary.com/users/register/free) url. Copy it from your account, then paste it in your `.env` file.\n\n![](./app/assets/images/cloudinary.png)\n\n```sh\n# Inside your .env file\nCLOUDINARY_URL=cloudinary://xxxxxxxx:xxxxxx@gabriele-canepa93\n```\n\nStart a new server and go to http://localhost:3000:\n\n```sh\nrails s\n```\n\nEvery time there's something new, you can pull new changes and update your local version:\n\n```sh\ngit pull -f origin master\n\n# Are there new gems?\nbundle\n# New js packages?\nyarn\n# New migrations/seeds?\nrails db:migrate db:seed\n```\n\n## Development\n\nTo develop and propose new changes:\n\n```sh\n# 1. Always pull the latest version and make sure your master branch is clean\ngit pull -f origin master\ngit status # MUST be clean!\n\n# 2. Create and switch to a new branch\ngit checkout -b awesome-feature\n\n# 3. Open with sublime, add your changes, and commit\nstt\ngit add .\ngit commit -m \"An awesome feature\"\n\n# 4. Push your feature\ngit push -f origin awesome-feature\n# If you get an error is because you are not a contributor yet. Ask to share your screen and create a feature during a livecode session!\n# Then open github and create a new pull request there:\nhub browse\n\n# 5. When the pr gets merged, go back to master, delete the branch and get the latest changes\ngit checkout master\ngit branch -D awesome-feature \u0026\u0026 git sweep\ngit pull -f origin master\n```\n\n## Deployment\n\nYou must be a collaborator on [Heroku](https://signup.heroku.com) to be able to deploy. If you are (and just if you contributed to the last livecode session!), deploy the new commits with:\n\n```sh\ngit push -f heroku master\n```\n\nIf not already done by someone else, push your Cloudinary url to Heroku with:\n\n```sh\n# TODO: use your actual cloudinary url\nheroku config:set CLOUDINARY_URL=\"cloudinary://xxxxxxxx:xxxxxx@gabriele-canepa93\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielecanepa%2Fesselunga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielecanepa%2Fesselunga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielecanepa%2Fesselunga/lists"}