Video call exploration
-
Talkilla requires Firefox > 21.
-
Make sure you have node installed.
-
Install the required node dependencies:
$ npm install # or alternatively: $ make install
-
Start the server:
$ env PORT=5000 node app.js # or alternatively: $ make runserver
-
Point your web browser to http://localhost:5000.
App configuration is done using JSON files stored in the config/
directory:
dev.json
for thedev
environment configurationprod.json
for theprod
environment configurationlocal.json
for any settings you may want to override locally (this file is never versionned)
Settings are:
DEBUG
: to have log messages printed out to the browser consoleWSURL
: the url to the WebSocket server endpoint
To run the unit tests:
-
Make sure you've installed node and the required modules as per the local development section.
-
On Mac, you need to have /Applications/FirefoxNightly.app installed (aka Firefox 24), and not have a /Applications/Firefox.app
-
On Linux, you need to have /usr/bin/firefox-nightly present, or a Firefox will be downloaded for you.
-
Run the tests:
$ make test
To run the front-end unit tests standalone:
-
First make sure you are running the server in development mode:
$ make runserver_dev
Look for a file named CONTRIBUTING.md
in this repository. It
contains our contributing guidelines.
All source code here is available under the MPL 2.0 license, unless otherwise indicated.