Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

alphagov/webchat-prototype

Repository files navigation

Webchat prototype

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

Requirements

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.

About

A prototype of how web chat could work on GOV.UK

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published