Skip to content

miguelvalero/classpip-mobile

 
 

Repository files navigation

Classpip Mobile Application

Classpip Badge Build Status Codacy Badge Coverage Status

classpip-icon

Classpip is a Mobile application for School Gamification. The application is builded around a stack of services and websites to provide a full experience in order to gamificate any educational environment.

This repository contains the mobile application for the Classpip architecture. With this application you could connect to the services oriented architecture.

Global dependencies

Make sure you have NodeJS installed. Download the installer here or use your favorite package manager. It's best to get the 5x version of node along with the 3x version of npm. This offers the best in stability and speed for building.

npm install -g [email protected]
npm install -g [email protected]

For building iOS projects you have to install Xcode and Ruby for installing the following gem:

gem install xcodeproj

Install ios-deploy to deploy iOS applications to devices.

sudo npm install -g ios-deploy --unsafe-perm=true --allow-root

Local dependencies

All the project dependencies are manage through npmjs. To install this dependencies you should run:

npm install

Development

For development purposes, you have to restore the cordova state of the application. All the platforms and plugins files are not uploaded into the repo but you could download with the following command:

mkdir www
cordova prepare

To see all the HTML5 development you could run the following command to see with livereload all the changes on the browser.

ionic serve

If you want to emulate your changes on the platform emulators: android (Android Emulator or Genymotion), iOS emulator

ionic emulate [ios|android]

If you want to test the application on real devices or the browser emulator you could connect a real device in your computer and run:

ionic run [ios|android]

Finally if you want to build the application for generating the final artifacts for the market deployment you should run the following command for every platform:

ionic build [ios|android] --release

Testing

There are some unit tests configured in the application to validate the integrity of the code. This tests are running using karma over phantomJS. To tun the unit tests configured in the application you should run:

npm test

Building

For building the application you should execute two scripts located into the /build folder. These scripts use some ENV_VARS that points to diferent certificates and keystores located in your machine.

cd build
sh build_{ios|android}.sh

License

Classpip is released under the Apache2 License.

About

Classpip Mobile Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 72.9%
  • HTML 15.0%
  • JavaScript 4.4%
  • CSS 4.3%
  • Shell 3.3%
  • Ruby 0.1%