Install Let’s Chat on Ubuntu Wheezy

#get nodejs package
apt-get install curl
curl -sL https://deb.nodesource.com/setup | bash -
#install nodejs
apt-get install -y nodejs

#install mongodb
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/debian "$(lsb_release -sc)"/mongodb-org/3.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
apt-get update
apt-get install -y mongodb-org
service mongod start

#install python
apt-get install python

#install let's chat
cd /opt/
git clone https://github.com/sdelements/lets-chat.git
cd lets-chat
sudo chown -R $USER ~/.npm
npm install

# edit! settings to enable file uploads otherwise it does not work
cp settings.yml.sample settings.yml

#start letschat in background by running it with forever
npm -g install forever
forever start app.js

# to stop it use "forever stop app.js" while in the folder

http://labs.telasocial.com/nodejs-forever-daemon/

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: -1 (from 1 vote)

Comments are closed.