{"id":13870106,"url":"https://github.com/srobbin/sweeparoundus","last_synced_at":"2026-03-16T22:32:13.754Z","repository":{"id":66857483,"uuid":"357695018","full_name":"srobbin/sweeparoundus","owner":"srobbin","description":"A Chicago street sweeping alert system and searchable calendar","archived":false,"fork":false,"pushed_at":"2025-03-25T03:30:41.000Z","size":7836,"stargazers_count":11,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T04:26:22.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/srobbin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-13T21:37:36.000Z","updated_at":"2025-03-25T03:30:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"caceeef0-5246-4ae0-8a12-8402c72e0a57","html_url":"https://github.com/srobbin/sweeparoundus","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/srobbin%2Fsweeparoundus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srobbin%2Fsweeparoundus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srobbin%2Fsweeparoundus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srobbin%2Fsweeparoundus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srobbin","download_url":"https://codeload.github.com/srobbin/sweeparoundus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248411971,"owners_count":21099036,"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":[],"created_at":"2024-08-05T20:01:28.878Z","updated_at":"2026-03-16T22:32:13.664Z","avatar_url":"https://github.com/srobbin.png","language":"Ruby","readme":"# SweepAround.Us\n\nA Chicago street sweeping alert system and searchable calendar.\n\n## Development\n\n### Initial setup\n\nIf this is your first time running the application, you'll need to make sure you have\n[Docker](https://docs.docker.com/get-docker/) installed. Assuming you do, issue these commands\nfrom the terminal:\n\n```sh\n# Make a copy of the environment variables file\n# NOTE: You'll need a Google API key for maps/address autocomplete,\n# and a Mailgun API key for sending transactional emails\ncp .env.example .env\n\n# Build the Docker image\ndocker compose build --no-cache\n\n# Run the setup script\ndocker compose run app bin/setup\n\n# After the setup is completed, run the app\ndocker compose up\n```\n\n### Running the app\n\nFrom a terminal session:\n\n```sh\n# Update to make sure your database and dependencies are in sync\ndocker compose run app bin/update\n\n# Launch the stack\ndocker compose up\n```\n\nOnce the stack is running, visit: [http://localhost:3000](http://localhost:3000)\n\n_Note: you may be required to migrate the database, but you should be able to do this from\nthe website prompt._\n\n### Gems and console\n\nFrom time to time, you'll need to install new gems and access the console. In order to do so,\nplease use the `docker compose run app` command. For example:\n\n```sh\n# Installing gems\ndocker compose run app bundle add foo\n\n# Accessing the console\ndocker compose run app bin/rails console\n\n# Start a bash shell\ndocker compose run app /bin/bash\n\n# Run rspec tests\ndocker compose run app rake spec\nOR\ndocker compose run app bundle exec rake spec\n```\n\n### Emails\n\nIn development, emails are captured and stored in `/tmp/letter_opener`.\n\n### Annual maintenance\n\n- In late March, export the following files from the [Chicago Data Portal](data.cityofchicago.org):\n  - \"Street Sweeping Zones - 202X\" =\u003e `Street Sweeping Zones - 202X.geojson`\n  - \"Street Sweeping Schedule - 202X\" =\u003e `Street_Sweeping_Schedule_-_202X.csv`\n- Add files to the `db/data` directory.\n- Run rspec test suite.\n- Merge into main and deploy.\n- Temporarily enable 'Maintenance Mode' on Heroku prior to running non-TEST `SeedYearlyData` service.\n- Seed db with new zone and schedule data (note that this will nullify `area_id` in existing alerts):\n  - TEST: `SeedYearlyData.new(write: false, year: Time.current.year.to_s).call`\n  - `SeedYearlyData.new(write: true, year: Time.current.year.to_s).call`\n- Disable 'Maintenance Mode' on Heroku prior to running non-TEST `SeedYearlyData` service.\n- Flip `NEW_SCHEDULES_LIVE` boolean value.\n- Destroy alerts that are unconfirmed or don't have an associated street address:\n  - TEST: `DestroyIneligibleAlerts.new(write: false).call`\n  - `DestroyIneligibleAlerts.new(write: true).call`\n- Carry over existing alerts:\n  - TEST: `CarryOverExistingAlerts.new(write: false).call`\n  - `CarryOverExistingAlerts.new(write: true).call`","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrobbin%2Fsweeparoundus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrobbin%2Fsweeparoundus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrobbin%2Fsweeparoundus/lists"}