Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkachmar/menagerie-v2-mobile
Testing a mobile frontend for Menagerie v2 based on Cordova and Onsen UI
https://github.com/jkachmar/menagerie-v2-mobile
Last synced: 28 days ago
JSON representation
Testing a mobile frontend for Menagerie v2 based on Cordova and Onsen UI
- Host: GitHub
- URL: https://github.com/jkachmar/menagerie-v2-mobile
- Owner: jkachmar
- Created: 2016-09-21T18:33:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-14T20:18:56.000Z (over 8 years ago)
- Last Synced: 2024-11-07T04:49:36.804Z (3 months ago)
- Language: JavaScript
- Size: 2.85 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Menagerie 2.0 Mobile App
This is the mobile companion to the upcoming [Menagerie v2] device management
system. The app is meant to provide a proof-of-concept for interacting with
Menagerie's new features, as well as a test of rapid prototyping simple CRUD
apps with [Cordova] and [Onsen UI].[Menagerie v2]: https://github.com/goliatone/menagerie
[Cordova]: https://cordova.apache.org/
[Onsen UI]: https://onsen.io/**Table of Contents**
- [Development](#development)
- [Prerequisites](#prerequisites)
- [Desktop](#desktop)
- [iOS Emulator](#ios-emulator)
- [iOS Hardware](#ios-hardware)### Development
#### Prerequisites
Ensure that the following tools are installed:
- git
- Xcode 8.x
- npm#### Desktop
The application can easily be run in-browser with the following:
npm install -g monaca
monaca previewNote that most features will not work as-expected due to CORS limitations.
The iOS Emulator should be used to test any app features that depend on access
to the Menagerie backend.#### iOS Emulator
npm install -g cordova
cordova platform add ios
cordova plugin add cordova-plugin-console
cordova plugin add phonegap-plugin-barcodescanner
cordova plugin add cordova-plugin-whitelist
cordova build iosIf the above completes without error, then run `cordova emulate ios --list`.
This produces a list of valid iOS emulators on your system; choose one and then
run the following:cordova emulate ios --target=""
... where `` is a member of the previous list of available
emulators.#### iOS Hardware
Unfortunately, building for iOS hardware is quite complex at this time. For
check the [DOCUMENTATION] for detailed instructions on how to do so.[DOCUMENTATION]: DOCUMENTATION.md