nutty is licensed under GPLv3
- 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": "nutty.io",
"port": 9000,
"iceServers": [{
"url": "stun:webrtc.nutty.io:3478"
}]
}
In case you want to host a private nutty server you need to make an entry in hosts file so that the name "privatenutty" resolves to the IP address where you host nutty server. You will then need to use "privatenutty" in the address bar of Chrome. More instructions on how to edit host files is here: http://www.rackspace.com/knowledge_center/article/how-do-i-modify-my-hosts-file