nutty is licensed under GPLv3
Details here: https://registry.hub.docker.com/u/krishnasrinivas/nuttyapp/ (docker specific code on docker branch)
- Install MongoDB
- $ curl https://install.meteor.com/ | sh
- $ sudo npm install -g meteorite
- $ git clone https://github.com/krishnasrinivas/nuttyapp.git
- $ cd nuttyapp
- $ mrt install
- Configure authinfo.json (optional, details given below)
- $ meteor bundle ../bundle.tgz
- $ cd ..
- $ tar xzvf bundle.tgz
- $ export MONGO_URL=mongodb://localhost/nuttyapp
- $ export PORT=80
- $ export ROOT_URL='http://yourserver.com'
- $ sudo node bundle/main.js
authinfo.json should be put in "nuttyapp/private" directory with the format:
{
"google": {
"clientId": "googleoauth-clientid-optional",
"secret": "googleoauth-secret-optional"
},
"aws": {
"awsid": "s3upload-awsid-optional",
"awssecret": "s3upload-awssecret-optional"
},
"webrtc": {
"key": "key from peerjs.com - optional - if you need webrtc"
}
}
google.clientId and google.secret can be configured if you need google auth signin. aws.awsid and aws.awssecret can be configured if you plan to record terminal and upload them to S3. webrtc should be configured if you need WebRTC. For webrtc config details check http://peerjs.com/. nutty.io's webrtc config looks like this:
"webrtc": {
"host": "webrtc-nuttyapp.rhcloud.com",
"port": 8443,
"iceServers": [{
"url": "stun:stun.l.google.com:19302"
}]
}