{"id":23478404,"url":"https://github.com/opennms/opennms-compass","last_synced_at":"2025-10-08T13:32:56.510Z","repository":{"id":29790074,"uuid":"33334266","full_name":"OpenNMS/opennms-compass","owner":"OpenNMS","description":"The OpenNMS Compass Mobile App","archived":false,"fork":false,"pushed_at":"2021-02-05T19:25:24.000Z","size":25917,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":36,"default_branch":"develop","last_synced_at":"2024-04-15T15:36:18.974Z","etag":null,"topics":["ionic","mobile","opennms","phone"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenNMS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-04-02T22:10:09.000Z","updated_at":"2022-11-08T09:10:12.000Z","dependencies_parsed_at":"2022-09-06T11:23:12.852Z","dependency_job_id":null,"html_url":"https://github.com/OpenNMS/opennms-compass","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fopennms-compass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fopennms-compass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fopennms-compass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fopennms-compass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenNMS","download_url":"https://codeload.github.com/OpenNMS/opennms-compass/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231143269,"owners_count":18334367,"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":["ionic","mobile","opennms","phone"],"created_at":"2024-12-24T19:19:20.803Z","updated_at":"2025-10-08T13:32:51.478Z","avatar_url":"https://github.com/OpenNMS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"OpenNMS Mobile\n==============\n\nThis is a mobile client for OpenNMS, using Ionic framework, AngularJS, and Cordova.\n\nPrepping the Source Tree\n========================\n\nInstall Node.JS\n---------------\n\nFirst, you must have node.js installed: http://nodejs.org/\n\nIf you are on a mac and use HomeBrew, I recommend installing it with that instead, since they keep it up-to-date pretty well.  Otherwise, the install download they give you is fine.\n\nInstall Command-Line Tools\n--------------------------\n\nThen, install Ionic, Cordova, and Bower:\n\n```\nsudo npm install -g 'ionic@legacy' cordova yarn\n```\n\nThe \"-g\" installs them \"globally\", ie, in /usr/local/bin rather than just in a secret directory in your build tree.\n\nInstall Node Plugins\n--------------------\n\nNext, install the node plugins used during building/developing the app:\n\n```\nyarn\n```\n\nAny time the dependencies in `packages.json` or `yarn.lock` change, you will want to run this again.  I recommend doing it any time you do a `git pull` just to be sure.\n\nConfigure Build Properties\n--------------------------\n\nCopy the `build-properties.json.example` file to `build-properties.json`.  Unless you want to configure Google Analytics, Admob, or Play Store billing, you should not have to change anything in the file.\n\nRunning the App In Your Browser\n===============================\n\nIf you want to develop on the app, or just preview it, you can run it in your browser with the following command:\n\n```\nionic serve\n```\n\nThis will start a web server on port 8100 and open your browser to the app.\n\nRunning the App On A Phone\n==========================\n\niOS\n---\n\nYou must have Xcode installed from the Mac App Store. Once Xcode is installed, configure Ionic to build for the `ios` platform:\n\n```\nionic platform ios\n```\n\nThen, to run in the emulator, you should be able to run:\n\n```\nionic emulate ios\n```\n\nTo run on your phone, plug it in to the USB port and run:\n\n```\nionic run ios\n```\n\nIt's been a long time since I've set up Xcode and code signing and such myself, so I'm not sure what, if anything, you have to do to be able to sign/run on your phone.\n\nAndroid\n-------\n\nYou must have the Android SDK installed.  You can either install Android Studio (which is a custom version of Eclipse), or the Stand-alone SDK Tools, from here: http://developer.android.com/sdk/installing/index.html\n\nOnce the Android tools are installed and in your PATH, configure Ionic to build for the `android` platform:\n\n```\nionic platform android\n```\n\nThen, to run in the emulator, you should be able to run:\n\n```\nionic emulate android\n```\n\nTo run on your phone (or in the Genymotion emulator, which looks like a \"real\" phone), plug it in to the USB port and run:\n\n```\nionic run android\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennms%2Fopennms-compass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopennms%2Fopennms-compass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennms%2Fopennms-compass/lists"}