Link Search Menu Expand Document

Build and install

Difficulty: Easy


Prerequisites


1. Clone the project from GitHub

git clone git@github.com:ulangi/ulangi.git

2. Install dependencies and set up environment

# Go to the root project
cd ulangi

npm run bootstrap && npm run compile-all && npm run set-up-dev-env

Explanation:

  • npm run bootstrap: Install dependencies of all packages.
  • npm run compile-all: Compile source code to JavaScript.
  • npm run set-up-dev-env: Set up default environment variables.

3. Install the app on your device

# Go to the mobile app project
cd packages/ulangi-mobile

iOS:

# Open xcode to install it on your device
open ios/UlangiMobile.xcworkspace

# Or install it to the simulator
npm run ios

Android:

# Open emulator or plug-in your device first
npm run android

Copyright © 2019 Minh Loi. All rights reserved.