{"id":19881435,"url":"https://github.com/giscience/osmalert","last_synced_at":"2025-10-09T11:11:54.225Z","repository":{"id":196967636,"uuid":"694060792","full_name":"GIScience/osmalert","owner":"GIScience","description":"OSM Alert: ohsome Alert variant for ISEP 2023","archived":false,"fork":false,"pushed_at":"2024-03-13T12:33:14.000Z","size":12409,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-08T13:36:33.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/GIScience.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}},"created_at":"2023-09-20T08:52:57.000Z","updated_at":"2024-02-21T19:33:10.000Z","dependencies_parsed_at":"2024-01-03T14:25:19.025Z","dependency_job_id":"b681c6cc-6617-4e14-abc4-bf2390907e27","html_url":"https://github.com/GIScience/osmalert","commit_stats":null,"previous_names":["giscience/osmalert"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GIScience/osmalert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fosmalert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fosmalert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fosmalert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fosmalert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GIScience","download_url":"https://codeload.github.com/GIScience/osmalert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fosmalert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001290,"owners_count":26083058,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T17:14:15.633Z","updated_at":"2025-10-09T11:11:54.206Z","avatar_url":"https://github.com/GIScience.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OSM Alert\n\nCode for the ISE Practical 2023.\n\nThe user website is [here](https://giscience.github.io/osmalert/).\n\n## Local Build\n\n### Requirements\n\n- Java \u003e= 17 installed and runnable in path, e.g.\n  via [SDKMAN](https://sdkman.io/)\n\n[//]: # (- Chrome browser installed and runnable in path)\n\n### Build and Run on the command line\n\n```bash\n./gradlew build\njava -jar web/build/libs/web.jar\n```\n\n[//]: # (The first build can take some time due to Chrome driver installation.)\n\nThe website should now be accessible on `http://localhost:8080`\n\n### IntelliJ Configuration\n\n\u003e Settings | Build, Execution, Deployment | Build Tools | Gradle | Build and Run\n\u003e using: `Gradle`\n\nThis makes sure that all modules are correctly built and resources processed.\n\n\u003e Settings | Editor | Code Style | ☑️Enable EditorConfig Support\n\nTo adapt IntelliJ's formatting rules to `osmalert` guidelines.\n\n### VM Options\n\nBelow two arguments should be passed as the vm-options (run configuration) while\nrunning the web application. They can be set as VM Options in intellij's run\nconfiguration or can be passed as parameters if running in command line.\n\n```\n--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED\n```\n\n### Environmental Variables\n\nTo set the Web password and Username the environmental Variables have to be set\nlike the following:\n\n```\nWEB_USERNAME=[Insert Name here],WEB_PASSWORD=[Insert Password here]\n```\n\n## Project Structure\n\n- webapp\n- flinkservice\n- flinkjobjar\n\n## Heroku Deployment\n\n### Initial setup by project admins\n\n- Heroku cloud mail service add-on was created:\n  `heroku addons:create mailertogo:micro`\n- Projects were created:\n    - `heroku create --stack heroku-22 -a osmalert-web --region eu`.\n    - `heroku create -a osmalert-flink-docker --region eu`\n- Mail-Addon was created (and attached to `osmalert-flink-docker`):\n  `heroku addons:create mailertogo:micro -a osmalert-flink-docker`\n- All users were added as collaborator to the projects:\n    - `heroku access:add user.name@example.org -a osmalert-web`\n    - `heroku access:add user.name@example.org -a osmalert-flink-docker`\n\n### Requirements\n\n- Local installation of Docker\n- [Heroku](https://www.heroku.com/) account.\n- Local installation\n  of [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli).\n\n### Manual Deployment\n\n#### Webapp\n\n```bash\ncd webapp\nheroku login\n\n./deploy_webapp_to_heroku.sh\n\nheroku logs --tail -a osmalert-web\n```\n\nNow the web app is accessible at:\n`https://osmalert-web-0773365646a7.herokuapp.com`\n\n#### Dokku Container for Flink Job Manager\n\n__For this to work you need access to HeiGIT's S3d!!!__\n\n```bash\ncd dokku-flink/\n\n./deploy_flink_to_dokku.sh\n```\n\nNow the flink dashboard is accessible at:\nhttp://osmalert-flink.heigit-apps.org\n\n### Viewing the Logs\n\n```bash\nheroku logs -a \u003cprojectName\u003e --tail\n```\n\n### Restarting the App\n\n```bash\nheroku restart -a \u003cprojectName\u003e\n```\n\n## Static Website\n\nThe static website is hosted\non [GitHub Pages](https://giscience.github.io/osmalert/)\n\nThe source code for it is in the `docs` folder.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiscience%2Fosmalert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiscience%2Fosmalert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiscience%2Fosmalert/lists"}