Giter Site home page Giter Site logo

handynote-mobile's Introduction

HandyNote Mobile

HandyNote Mobile App for iOS and Android, utilize HandyNote-Service as backend service provider

Software Requirements

Development Setup & debug on browser

# Optional, set npm mirror to speed up npm install in China
npm config set registry https://registry.npm.taobao.org

# install cordova globally
npm install -g cordova

# install dependencies
npm install

# Optional, set HANDYNOTE_SERVICE_API
# if not set, will use HANDYNOTE_SERVICE_API=http://localhost:3000/api
# please refer to https://github.com/jinkebj/HandyNote-Service/blob/master/README.md to setup HandyNote-Service debug env
export HANDYNOTE_SERVICE_API=http://IP:Port/api

# run in debug mode with hot reload
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

Debug on android

  1. Make sure android sdk is setup
  • Install Java Development Kit (JDK) 8 or later
  • Install android-sdk and open SDK Manager (by run android from the terminal)
  • Make sure the following are installed: Android Platform SDK for your targeted version of Android Android SDK build-tools version 19.1.0 or higher Android Support Repository (found under "Extras")
  • Set the JAVA_HOME & ANDROID_HOME environment variable, add the Android SDK's tools, tools/bin, and platform-tools directories to PATH
  1. Make sure cordova android support is added
cordova platform add android
  1. Enable USB debugging and Developer Mode on Android device
npm run android

Debug on iOS

  1. Make sure required app is setup
  • Install xcode, xcode-select and ios-deploy
    xcode-select --install
    npm install -g --unsafe-perm=true ios-deploy
  1. Make sure cordova iOS support is added
cordova platform add ios
  1. Generate Xcode project file
cordova build ios
  • Open Xcode project file, use apple id to set up a provisioning profile to code sign the app
  1. Run the following command and trust the certificate on iOS device
npm run ios

handynote-mobile's People

Contributors

jinkebj avatar

Watchers

James Cloos avatar  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.