Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.53 KB

README.rst

File metadata and controls

59 lines (45 loc) · 1.53 KB

WWC

Websocket chat using centrifuge, pyramid, and backbone-marionette.

NOTE: Development is still rapidly ongoing so expect things to break from time to time.

Installation

The following assumes Ubuntu 12.04 64-bit:

1. Install Vagrant 64 bit (1.3.5 at the time of this writing):

$ wget http://files.vagrantup.com/packages/a40522f5fabccb9ddabad03d836e120ff5d14093/vagrant_1.3.5_x86_64.deb
$ dpkg -i vagrant_1.3.5_x86_64.deb
$ rm vagrant_1.3.5_x86_64.deb

2. Install virtualbox (12.04 package has a bug):

$ wget http://download.virtualbox.org/virtualbox/4.3.2/virtualbox-4.3_4.3.2-90405~Ubuntu~precise_amd64.deb
$ dpkg -i virtualbox-4.3_4.3.2-90405~Ubuntu~precise_amd64.deb
$ rm virtualbox-4.3_4.3.2-90405~Ubuntu~precise_amd64.deb

3. Clone this repo where you want it to live:

$ git clone https://github.com/dobrite/wwc

4. cd into the repo:

$ cd wwc

5. Start the dev VM (get some coffee):

$ vagrant up

6. SSH into vagrant vm and build buildout (more coffee):

$ vagrant ssh
$ cd /vagrant
$ make env

7. Once that is complete bootstrap and start the websocket server:

$ bin/initialize_cent_config
$ make ws

8. SSH into vagrant in a second terminal, create centrifuge projects, and start dev server:

$ vagrant ssh
$ cd /vagrant
$ bin/initialize_cent_projects
$ make dev
  1. Visit http://localhost:6542 on your host computer
NOTE: This is still pre-alpha, not much works and there are little tests. Obviously this will change as the project matures.