Clone wiki

Snuggle / Setup: Development environment

$ sudo apt-get install python-numpy python-scipy mercurial \
     python-pip build-essential libmysqlclient-dev nano mongodb apache2 \
     libapache2-mod-wsgi screen
$ sudo pip install oursql bottle beaker pymongo cherrypy pyyaml
$ cd <workspace directory>
$ hg clone
$ sudo mkdir /sites
$ sudo ln -s <workspace directory>/snuggle /sites/

Now you're going to add the following line to your /etc/hosts file. <pre> </pre>

$ cd /etc/apache2/mods-enabled
$ sudo ln -s ../mods-available/ssl.conf
$ sudo ln -s ../mods-available/ssl.load
$ sudo ln -s ../mods-available/wsgi.conf
$ sudo ln -s ../mods-available/wsgi.load
$ sudo ln -s /sites/ 
$ sudo service apache restart

If everything worked as expected, you should be able to load your local version of Snuggle by pointing your browser to "".

If something went wrong, check the tail of apache's error log

$ tail /var/log/apache2/error.log