Skip to content

BenLeroy/Ionic-sensor

Repository files navigation

Ionic-Sensor

Ionic built simplesensor

Transform simplesensor with ionic.io framework

Requirements :

To set up ionic's environment correctly : loopback-users-mobile.

You just need to run $ npm install -g ionic to add ionic framework.

How to install :

Once requirements are met, clone this repo by running :

$ git clone https://github.com/BenLeroy/Ionic-sensor.git

Or download the project's Zip

Then run :

$ npm install
$ bower install

How to use :

To make the application point to the right server address, you'll need to change app.js :

- at line 24 (LoopBackResourceProvider.setUrlBase ('[yourServerAdress]/api'))
- and line 109 (socket.io connector).

Emulation

Use your favorite emulator to run the project.

To build the project with ionic use $ ionic build [platform] from project's root.

For Android, use $ ionic build android ; the built APK will be found in [dir]/platforms/[android]/build/outputs/apk/android-debug.apk.

If you want to have a working preview, use $ ionic serve, it should open your default browser and display a working app, else navigate to http://localhost:8100.

About

Simplesensor the ionic way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published