Install Let’s Chat on Ubuntu Wheezy

#get nodejs package
apt-get install curl
curl -sL | bash -
#install nodejs
apt-get install -y nodejs

#install mongodb
apt-key adv --keyserver --recv 7F0CEB10
echo "deb "$(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
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

Comments are closed.