Skip to content

Setup LOG

Sysop edited this page Apr 4, 2019 · 2 revisions

Setup LOG (FYI: My Primary Development Platform is Ubuntu 18.04LTS and I’m developing primarily for Android (Samsung Galaxy S8, more to follow)
If you are running Windows or OSX you’ll need to branch into different instructions here: https://docs.viromedia.com/v2.13.0/docs/quick-start

http://www.viromedia.com/signup
My Key provided: F6AD3C5A-EEB0-411D-B8D6-ADBD65389621 IMPORTANT, EACH DEVELOPER NEEDS THEIR OWN, DON’T USE MINE

Check that we have an ARCore capable device:
https://developers.google.com/ar/discover/supported-devices

  • NOTE: Support for unsupported headsets is tracked here and not included in the Hackathon scope, sorry if your phone isn’t on this list!! https://github.com/OpenToInnovate/ARhythm/issues/1

Install dependencies:
$ sudo apt-get update
$ sudo apt-get install nodejs
Check which version of Node.js you have installed:
$ nodejs -v
I’m currently on v8.10.0
$ git clone https://github.com/facebook/watchman.git
$ cd watchman/
$ git checkout v4.9.0
$ sudo apt-get install -y autoconf automake build-essential python-dev
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
Check which version of watchman you have installed:
$ watchman —version
I’m currently on v4.9.0
$ cd ..
$ sudo npm install -g react-native-cli
$ sudo npm install -g react-viro-cli
$ sudo react-viro init ViroSample —verbose
$ cd ViroSample
$ sudo ./setup-ide.sh android

Install the app on your phone: https://play.google.com/store/apps/details?id=com.viromedia.viromedia
$ sudo npm start
Find your ngrok url (https://xxxxxx.ngrok.io) which is printed at the top of the terminal window where you ran npm start
Enter the URL and you’re set! “Hello World” works!

Clone this wiki locally