Getting Interlace running

Clone Interlace3.

git clone git://git.numm.org/interlace3

Bring in submodules

git submodule init
git submodule update

Dependencies

Setup on Debian-like systems

Most dependencies are in Debian, with the exception of Segment. The Segment repository provides its own Debian package.

To install dependencies:

$ sudo apt-get install python-autobahn python-twisted-web \
>    python-couchdb

You should now be able to run the development server.

$ twistd -ny interlace/develop.tac

You will need the NodeJS dependencies:

$ ./debian/rules get_node_dependencies

To deploy, build a .deb package:

$ apt-get install devscripts
$ dpkg-checkbuilddeps
$ debuild -b -us -uc

Then, to install the built package:

$ sudo debi

First installation.

The first time you install, you will need to seed the "germ" database.

First, update (or delete) the credentials in interlace-node/config.json.

Then, push the design documents:

$ ./debian/rules/push

You need to restart CouchDB:

$ sudo service couchdb force-reload

Installation on Arch

To set up non-Python dependencies:

$ sudo pacman -S phantomjs couchdb

Install other requirements. (Use a virtualenv if you want.)

$ sudo pip2 install -r requirements.txt

Install Interlace3.

$ sudo python2 setup.py develop