gecko/browser/components/loop/standalone
2014-09-01 20:32:47 +01:00
..
content Bug 1061154 Part 3 Fix some more Loop strings following UX feedback, and add necessary strings for outgoing calls from the desktop client. r=nperriault,r=abr 2014-09-01 20:32:47 +01:00
.gitignore Bug 1044796 Provide an option to Loop's standalone client makefile to create a version.txt file. r=nperriault 2014-07-30 17:13:16 +01:00
.jshintignore Bug 985596 - Refactored shared assets & tests. r=dmose 2014-05-29 21:20:11 +01:00
.jshintrc
Makefile Bug 976114 - stand up basic functional test for a fetching a URL, r=Standard8 2014-08-05 07:21:28 -07:00
package.json
README.md Bug 976114 - stand up basic functional test for a fetching a URL, r=Standard8 2014-08-05 07:21:28 -07:00
server.js Bug 1048938 - Part 1 of visual uplift, patch by loop frontend-ers; r=dmose 2014-08-27 10:46:44 -07:00

Loop Client

Prerequisites

NodeJS and npm installed.

Installation

$ make install

Configuration

If you need a static config.js file for deployment (most people wont; only folks deploying the development server will!), you can generate one like this:

$ make config

It will read the configuration from the following env variables and generate the appropriate configuration file:

  • LOOP_SERVER_URL defines the root url of the loop server, without trailing slash (default: http://localhost:5000).
  • LOOP_PENDING_CALL_TIMEOUT defines the amount of time a pending outgoing call should be considered timed out, in milliseconds (default: 20000).

Usage

For development, run a local static file server:

$ make runserver

Then point your browser at:

  • http://localhost:3000/content/ for all public webapp contents,
  • http://localhost:3000/test/ for tests.

Note: the provided static file server for web contents is not intended for production use.

Code linting

$ make lint

License

The Loop server code is released under the terms of the Mozilla Public License v2.0. See the LICENSE file at the root of the repository.