This prototype explores how webchat could work on GOV.UK. It is based on the GOV.UK prototype kit.
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/.
Install Node.js (see requirements)
Clone this repo
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.
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.
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.