An experiment in combining Node, React, RethinkDB, and A-Frame
REALZ:
• React, Redux, RethinkDB
• A-Frame (http://aframe.io)
• Horizon (Node) (http://horizon.io)
Install Horizon: http://horizon.io/install/ (this will include installing RethinkDB)
Download the REALZ source code:
git clone https://github.com/miquael/REALZ.git
Move into into REALZ:
cd REALZ
Start Horizon server:
hz serve --dev
Open in web browser: http://127.0.0.1:8181
When stopping the Horizon server, kill with control-Z (not control-C). When restarting Horizon server, an error can occur:
HTTP server: Error: listen EADDRINUSE 127.0.0.1:8181
To fix, first show running processes:
lsof -i tcp:8181
Then kill processes, where [PID#] is the process PID (example, 8875):
kill -9 [PID#]
Then, restart:
hz serve --dev