The SelfServer works with the SelfEngine https://github.com/aboynejames/selfengine augmented self intelligence
See https://github.com/aboynejames/selfeserver
-
Upload / transfer files to a raspberry pi
-
Ensure you have node.js installed (setup up guide ) and Couchdb.
-
npm install package.json (or install node modules individually)
-
create a settings.js file from the settings-sample.js file
- add couchdb username, password
- email provider (not active at present)
- hosting URL of 1. selfengine URL (other apps location comin soon)
- third party authentication e.g. facebook, twitter ID's and secrets (from a developer account with those services)
-
Note server URL is http:192.168.1.44:8881 (local version of selfengine has to have some local URL for socket.io)
-
Install node package forever or equivilant
-
write/edit a /etc/init.d/ file. Example .sh file include, edit paths to where index.js file is hosted / node source directory
-
For start of server on pi boot sudo update-rc.d start-selfserver.sh defaults
-
run in root mode sudo bash or reboot to run from .sh file.
-
node index.js
Raspberry Pi SD card Wifi Dongle Bluetooth dongle XRF serialport Radio module
WIFI setup See https://github.com/aboynejames/raspberrypiopensportproject
Bluetooth See https://github.com/aboynejames/raspberrypiopensportproject
a work in progress