lichess.org mobile application
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 useandroid
command everywhere.
For iOS:
- you need OS X and Xcode (6.x) installed.
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
Minimum version supported is 4.0.
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
Copy env/mobile.json.example
to env/your_env.json
and update according to your
env.
Generate assets and compile:
$ bin/ios your_env