Reference mobile and portal implementation for RainCatcher.
RainCatcher AngularJS is reference mobile and website implementation for RainCatcher Core. For more information about RainCatcher please refer to core repository.
This repository extends core framework with AngularJS based user interface. Repository contains set of the modules that implements AngularJS based services and directives. Modules are used in two demo applications:
Demo mobile
application which is used by field engineers to operate and execute items in workflowsDemo portal
application which is used by administrators to create workorders and workflows that can be consumed by field engineers.
Both demo applications require server demo application, which is located in the RainCatcher Core repository.
- node/npm (tested on Node v6.x (LTS))
- git
-
Install all dependencies for angular repository
git clone [email protected]:feedhenry-raincatcher/raincatcher-angularjs.git cd raincatcher-angularjs npm install npm run bootstrap
Note: Core repository will be automatically cloned using git command. If you wish to work with different branch of the core repository please switch manually.
-
Install all dependencies for core repository
cd ./core npm install npm run bootstrap
-
Start core node.js server
npm run start
Note: Core server requires mongodb and redis to be running on machine. Please refer to Core documentation for more details about how to configure non standard connection urls to this services.
-
Start demo mobile and portal applications Change directory to angular repository
cd .. npm run start
Both demo mobile and demo portal should start automatically in your browser.
Portal User
Username: max
Password: 123
Mobile User
Username: trever
Password: 123
This repository contains many subpackages managed through Lerna, and they're contained in the following directories:
- packages/
- Packages implementing angularjs directives and other ui components used in demo applications
- demo/
- Full-fledged demo applications, showcasing the usage of multiple modules
- core/client
- Client side modules from core repository
npm run test
- run unit tests
npm run bootstrap
- install required dependencies for modules and checkout core repository
npm run start
- run demo mobile and portal applications
Check the Contribution Guide for instructions.