【文件属性】:
文件名称:rpi_node:使用 Raspberry Pi 启动和运行的节点应用程序
文件大小:39KB
文件格式:ZIP
更新时间:2021-06-23 21:57:32
JavaScript
rpi_node
使用 Raspberry Pi 和 Cassandra 启动和运行的节点应用程序
安装 node.js
ssh pi@192.168.1.100 (Your Paspberry Pi ip address)
wget http://nodejs.org/dist/v0.10.35/node-v0.10.35.tar.gz
tar xvf node-v0.10.35.tar.gz
cd node-v0.10.35
./configure
make (It takes a while to compile - 2+ hours)
sudo make install
安装 Java(如果有必要,现在 Raspbian 预装了它)
sudo apt-get update && sudo apt-get install oracle-java7-jdk
nano ~ /.ba
【文件预览】:
rpi_node-master
----.jshintrc(397B)
----client()
--------readme.txt(66B)
----.gitignore(58B)
----package.json(1KB)
----server()
--------app.js(4KB)
--------middleware()
--------services()
--------cql()
--------models()
--------tools()
--------utils()
--------routers()
--------lib()
--------test()
----gulpfile.js(7KB)
----LICENSE(1KB)
----scripts()
--------git()
----README.md(1KB)
----config()
--------test.json(428B)
--------default.json(1KB)
--------production.json(437B)
----testApp.js(559B)