forked from firepick1/firenodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Install
firepick1 (localhost) edited this page Oct 27, 2015
·
17 revisions
You must have:
Open up a console window (your home directory is fine).
cd ~
git clone https://github.com/firepick1/firenodejs
cd firenodejs
scripts/install.shOpen up a console window in the firenodejs directory
and let's launch firenodejs:
node js/server.jsOpen up a browser to see the firenodejs web page. Here we assume that you have installed on a Raspberry Pi:
The firenodejs server automatically maintains a model of the FireStep controller state that you can view quickly:
The firenodejs server provides access to your Raspberry Pi camera:
Congratulations! You're DONE.
- [Raspberry Pi instructions](Raspbery Pi)
- Why port 8080? The standard HTTP port 80 is below 1024 and normally off-limits to normal users. There are many solutions to this problem. The ugliest solution (because root should never run a web server) is to do this:
sudo node js/server.js