Skip to content

Commit f80b403

Browse files
authored
Create BUILD.md
1 parent 5af55d7 commit f80b403

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

BUILD.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Electron application
2+
3+
- Install yarn - https://yarnpkg.com/lang/en/docs/install/
4+
- Install node v8.x (check with `node --version`) - https://nodejs.org/en/
5+
- Then run these commands:
6+
7+
```
8+
cd ElectronClient/app
9+
rsync -a ../../ReactNativeClient/lib/ lib/
10+
npm install
11+
yarn dist
12+
```
13+
14+
If there's an error `while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory`, run `sudo apt-get install libgconf-2-4`
15+
16+
That will create the executable file in the `dist` directory.
17+
18+
From `/ElectronClient` you can also run `run.sh` to run the app for testing.
19+
20+
# Mobile application
21+
22+
From `/ReactNativeClient`, run `npm install`, then `react-native run-ios` or `react-native run-android`.
23+
24+
# Terminal application
25+
26+
From `/CliClient`, run `npm install` then run `run.sh`. If you get an error about `xgettext`, comment out the command `node build-translation.js --silent` in build.sh

0 commit comments

Comments
 (0)