Giter Club home page Giter Club logo

led-maji-app's Introduction

led-app

Getting started

  • Make sure you have fulfilled the prerequisites
  • Running bin/setup will hook you up with everything you need

Microcontroller setup

  • In app/modules/home/index_page.coffee:9, change those settings to fit you BLE receiver.

  • Wire your Arduino components: Arduino Diagram

Development workflow

  • While developing you can run a local serve using make watch. This will start a server on http://localhost:9090.
  • To create a static HTML5 app build run make dist. The app will be build into the dist/ directory.
  • To run the app on a connected mobile device run bin/maji run <platform>.
  • To build a Cordova app run bin/maji build <platform>.
  • To run Javascript tests run bin/karma start. This will start a Karma server with Phantomjs and will continuously watch your Javascript files and run tests on changes.
  • To run features specs run bundle exec rspec.
  • To run all tests run bin/ci.

Packaging native apps / running on your device

  • Make sure you have fulfilled the platform specific prerequisites for the platform you're targeting.
  • Running bin/maji run with the target platform as parameter, e.g. bin/maji run ios will launch the app on your connected iPhone, while bin/maji run android will launch the app on your connected Android device. Specifying -e on the maji run command will launch the app on the iOS Simulator or Android Emulator.

Prerequisites

General

  • Ruby, for the Cucumber specs
  • NodeJS, for the build system (bin/setup will install this if you've got Homebrew)
  • Homebrew (bin/setup will use this to hook you up with all of the dependencies, except Ruby)

iOS

  • XCode
  • iOS SDK

Android

  • Android SDK
  • Android platform tools installed
  • Android platform 10+.
  • Ant (brew install ant)
  • android and adb in your $PATH (add path/to/android-sdk-macosx/tools and path/to/android-sdk-macosx/platform-tools to your $PATH).

led-maji-app's People

Watchers

James Cloos avatar Lucian Leustean avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.