/lichobile

lichess.org mobile application

Primary LanguageJavaScriptMIT LicenseMIT

lichobile

lichess.org mobile application

Requirements

  • node and gulp version 3.8.x installed.

For Android:

  • the android SDK
  • SDK packages for API 14 to API 19
  • make sure the sdk/tools/ directory is in your path, so you can use android command everywhere.

For iOS:

  • you need OS X and Xcode (6.x) installed.

Build the web application

Make sure you installed all deps:

$ npm install

To build in dev mode:

$ gulp

To build in prod mode:

$ gulp --mode=prod

To build and watch for changes:

$ gulp watch

Android instructions

Minimum version supported is 4.0.

Run on your device

Following commands are executed from project root.

First, link your SDK to the project:

$ android update project --target 19 -p app/ -s

Copy env/mobile.json.example to env/mobile.json and update according to your env.

Then plug your device with USB, check that usb debugging is enabled on it.

You're all set! You can now run

$ bin/android your_env

iOS instructions

Copy env/mobile.json.example to env/your_env.json and update according to your env.

Generate assets and compile:

$ bin/ios your_env