This repository has been archived by the owner. It is now read-only.
A prototype of how web chat could work on GOV.UK
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
docs
lib
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Gruntfile.js
LICENCE.txt
Procfile
README.md
VERSION.txt
package.json
server.js
start.js

README.md

Webchat prototype

This prototype explores how webchat could work on GOV.UK. It is based on the GOV.UK prototype kit.

Requirements

Node

You may already have it, try:

node --version

Your version should be 4.2.2.

If you don't have Node, download it here: http://nodejs.org/.

Getting started

Install Node.js (see requirements)

Clone the repo

Clone this repo

Install dependencies

Open a command line app (Terminal on OSX) and change to the unzipped directory. Then run:

npm install

This will install extra code that the prototype kit needs.

Run the app

node start.js

Go to localhost:3000 in your browser.

If you want to view multiple prototypes at the same time you can give them unique port numbers, like this:

PORT=3005 node start.js

To avoid conflicts we recommend using ports between 3000 and 3009. To change the port number permanently, edit the port variable in /server.js.

Hot reload

Any code changes should update in the browser without you restarting the app.

The app recompiles app/assets/stylesheets/application.scss everytime changes are observed.