Difference between revisions of "Talks"

From CSLabsWiki
(Updating installation documentation to match Talks 2.0)
Line 4: Line 4:
|last_update = 2016/01/22
|last_update = 2016/01/22
|host_vm = [[DubsDot]]
|host_vm = [[DubsDot]]
|vm_host = [[phoenix]]
|vm_host = [[bennu]]
|services =
|services =
|category = Service
|category = Service

Revision as of 12:30, 11 April 2016

IP Address(es):
Contact Person: Benjamin Lannon
Last Update: 2016/01/22
VM Host (Physical): bennu
Host VM: DubsDot

Talks is a web app that people can sign up for a lightning talk or after meeting slot and have priority over those who did not.


The repository for Talks is now found at lannonbr/NodeTalks. clone it onto a machine and then run

npm install

to get all of the dependencies. (Make sure that NodeJS and NPM are up to date). Next, download the forever package with

sudo npm install -g forever

This package allows node applications be run as a daemon. Following this, you can run

forever start index.js

in the NodeTalks directory to start daemon. by default the http server will be running on port 3000, so to have it work on port 80 for talks.cslabs.clarkson.edu, you need to set up a reverse proxy. the configured file for the talks virtualhost is below

<VirtualHost *:80>
	ServerName talks.cslabs.clarkson.edu
	ServerAlias talks.cosi.clarkson.edu
	ServerAlias talks
	Options -Indexes
	ProxyPreserveHost on
	ProxyPass / http://localhost:3000/
	ProxyPassReverse / http://localhost:3000/

you will need to enable the proxy and proxy_http apache modules to make this work, so run

sudo a2enmod proxy
sudo a2enmod proxy_http

Afterwards, enable the site and restart apache by running

sudo a2ensite talks
sudo service apache2 restart

And talks should be up and running as expected.