From 5af55d7da3f1a1bf686ac789895ceef55d834ef5 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 30 Nov 2017 22:33:18 +0000 Subject: [PATCH 1/2] Create issue_template.md --- docs/issue_template.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docs/issue_template.md diff --git a/docs/issue_template.md b/docs/issue_template.md new file mode 100644 index 0000000000..14917b4e8d --- /dev/null +++ b/docs/issue_template.md @@ -0,0 +1,19 @@ +### Operating system + +- [ ] Windows +- [ ] macOS +- [ ] Linux +- [ ] Android +- [ ] iOS + +### Application + +- [ ] Desktop +- [ ] Mobile +- [ ] Terminal + +*If it is a bug if possible please provide a screenshot showing the problem* + +*If there is an error, please copy and paste the full error message* + +--- From f80b403dfe4770e969cceea79873ef1ad18c71cb Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 30 Nov 2017 23:02:14 +0000 Subject: [PATCH 2/2] Create BUILD.md --- BUILD.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 BUILD.md diff --git a/BUILD.md b/BUILD.md new file mode 100644 index 0000000000..282e038558 --- /dev/null +++ b/BUILD.md @@ -0,0 +1,26 @@ +# Electron application + +- Install yarn - https://yarnpkg.com/lang/en/docs/install/ +- Install node v8.x (check with `node --version`) - https://nodejs.org/en/ +- Then run these commands: + +``` +cd ElectronClient/app +rsync -a ../../ReactNativeClient/lib/ lib/ +npm install +yarn dist +``` + +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` + +That will create the executable file in the `dist` directory. + +From `/ElectronClient` you can also run `run.sh` to run the app for testing. + +# Mobile application + +From `/ReactNativeClient`, run `npm install`, then `react-native run-ios` or `react-native run-android`. + +# Terminal application + +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