-
Notifications
You must be signed in to change notification settings - Fork 85
Dev env setup
Max Risuhin edited this page Aug 7, 2018
·
21 revisions
lein, node.js v.8 , cmake, cmake-extra-modules, Qt 5.9.1, Qt's qmake available in PATH
cmake-extra-modules can be installed by running:
Linux:
sudo apt install extra-cmake-modules
MacOS:
brew install kde-mac/kde/kf5-extra-cmake-modules
Note: add qmake to PATH via
export PATH=<QT_PATH>/clang_64/bin:$PATH
Caveats:
- if npm hangs at some step, check the version. If it's 5.6.0, try downgrading to 5.5.1 via
npm install -g [email protected]
- git clone https://github.com/status-im/react-native-desktop.git
- cd react-native-desktop/react-native-cli
- npm update
- npm install -g
- git clone https://github.com/status-im/status-react.git
- cd status-react
- scripts/prepare-for-platform.sh desktop
- npm install
- lein deps
- ./re-natal use-figwheel
- ./re-natal enable-source-maps
- In separate terminal tab:
npm start
(note: it starts react-native packager ) - In separate terminal tab: node ./ubuntu-server.js
- In separate terminal tab: lein figwheel-repl desktop (note: wait until sources compiled)
- In separate terminal tab: react-native run-desktop