CHRONI is a mobile application that presents archived data downloaded from the Geochron database in a customizable format for use by geologists in the field. The project is led and maintained by CIRDLES, an undergraduate research lab at the College of Charleston in Charleston, South Carolina.
This material is based upon work supported by the National Science Foundation under Grant Numbers 0930223 and 1443037. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
For more information about this project, please contact Jim Bowring.
Please have installed git tools, Xcode (mac), and a text editor. Make sure there is an updated Node.js version installed: http://nodejs.org/en/ Fork a copy of this project as your origin. Clone your repository onto your local and use the following commands to establish the upstream:
$ git remote add upstream https://github.com/CIRDLES/CHRONI.git
Installing Ionic: (Some commands might need sudo)
$ npm install -g cordova ionic
If this result in errors use this instead:
$ npm uninstall -g cordova
$ npm uninstall -g ionic
$ npm install -g cordova ionic
Ionic should now be installed with version 2 or higher. Use ionic -v to confirm. Continue with:
$ gem install sass
$ npm install
$ npm install --global gulp-cli
$ npm install -g bower
Now that ionic and its dependencies have been installed, use the following command to convert the scss written to css:
$ gulp sass
Change directories to the CHRONI directory on the local and run:
$ ionic emulate ios -lr
Have Android Studio installed and create an AVD within Android Studio. Then add the android platform and check if its been installed:
$ ionic platform add android
$ ionic platform
Change directories to the CHRONI directory on the local and run:
$ ionic build android
$ ionic run android
More info on this can be found on the Ionic Getting Started page and the Ionic CLI repo.