GithubHelp home page GithubHelp logo

johnnylambada / smartrack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 740 KB

An Android+Cordova project for displaying Microsoft documents using 1Drive

CSS 4.86% JavaScript 63.49% Java 9.00% Objective-C 17.67% C# 0.69% Shell 4.28%

smartrack's Introduction

Smartrack

Sometimes you just want to build an app that statically bundles all of your microsoft documents so they can be read offline from within the app itself. This Cordova project lets you do that.

To use it, you'll have to download the Android SDK and Cordova, and these instructions will show you how to do just that.

The Procedure

Generally, the procedure for building this app goes as follows (details for each step is in a section below):

  1. Validate the macosx environment; you'll need to install homebrew. Install ant, curl, md5sum.
  2. Use git to clone the smarttrack repository
  3. Download and extract the Android SDK.
  4. Download and install Node.
  5. Download and extract the Cordova command line utilities.
  6. Point the www directory to the correct source
  7. Make sure the javascript is correct
  8. Build and test the app

Use git to clone the smarttrack repository

This repository is housed in github. Use git to clone it to your local machine.

mkdir -p ~/Projects/itp/ # You can put this wherever you like
git clone https://github.com/johnnylambada/smartrack.git
cd smartrack
pwd # This is the home directory for your project

Validate the macosx environment

The OSX environment may require some additional tools. Generally these can be obtained using homebrew.

cd ~/Projects/itp/smarttrack
source scripts/envsetup.sh
validate

If phase 0 passes, then you're ready to move on to downloading the Android SDK.

Download and set up the Android SDK

We're going to download a private copy of the Android SDK. If you already have a copy of the SDK, feel free to use it instead.

cd ~/Projects/itp/smarttrack
source scripts/envsetup.sh
download-android-sdk

Download and install Node

More here. Download and install Cordova

More here.

Initial project setup commands

These are the commands to initially set up a new project.

cordova create app com.sigseg.fred FredFlintstone
cordova platform add ios
cordova platform add android
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
...

smartrack's People

Contributors

johnnylambada avatar

Watchers

 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.