-
Notifications
You must be signed in to change notification settings - Fork 85
Dev env setup
Pedro Pombeiro edited this page Sep 10, 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:
Linux:
`export PATH=<QT_PATH>/gcc_64/bin:$PATH`
MacOS:
`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 (run
ln -s node_modules/re-natal/index.js re-natal
if you don't havere-natal
) - ./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