Skip to content

Commit

Permalink
Merge pull request #308 from alphagov/use-node-v6
Browse files Browse the repository at this point in the history
Change node version from 4 to 6
  • Loading branch information
robinwhittleton authored Nov 16, 2016
2 parents e809d99 + 71b6c58 commit 3eec5e6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docs/documentation/install/developer-install-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It's built on the [Express](http://expressjs.com/) framework, and uses these GOV

## Requirements

node.js - version 4.x.x
node.js - version 6.x.x

## Install dependencies

Expand All @@ -21,4 +21,4 @@ npm install
npm start
```

Go to [localhost:3000](http://localhost:3000) in your browser.
Go to [localhost:3000](http://localhost:3000) in your browser.
16 changes: 8 additions & 8 deletions docs/documentation/install/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This guide recommends additional software which will be used in later guides.
If you have admin access to your machine, you can follow this guide to install the required software.

If you do not have admin access, ask your computer administrator to install:
* Node.js 4.x.x
* Node.js 6.x.x
* Sublime Text 3
* Command line tools (Mac)
* Git bash (Windows)
Expand Down Expand Up @@ -43,9 +43,9 @@ command to be typed in to terminal
Once you’ve typed the command, press enter to send it.


## Node.js version 4 LTS
## Node.js version 6 LTS

The kit is designed to work with Node.js version 4 LTS. The kit works with any 4.x.x version.
The kit is designed to work with Node.js version 6 LTS. The kit works with any 6.x.x version.

### Check if you have Node.js

Expand All @@ -55,22 +55,22 @@ node --version
```
If it says `command not found` or `Error 0x2 starting node.exe --version` you don’t have node and will need to download and install it.

If it says `4.3.0` (or other 4.x.x version) you have the correct version installed.
If the version number starts with 6 you have the correct version installed.

If it says another number such as `0.12` or `5.x.x`, you need to download and install version 4.
If it says another number such as `0.12` or `5.x.x`, you need to download and install version 6.

### Download and install Node.js

#### Mac / Windows users

Download version 4 from [nodejs.org](https://nodejs.org/en/).
Download version 6 from [nodejs.org](https://nodejs.org/en/).

Run the installer with all default options.

#### Linux users

Follow the instructions on the [Node.js](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
) site. Make sure you get version 4, not 5.
) site. Make sure you get version 6, not 7.

### Once Node is installed

Expand All @@ -81,7 +81,7 @@ To check it is installed correctly you can again run:
node --version
```

If it’s installed correctly it should say 4.3.0 (or other 4.x.x version)
If it’s installed correctly it should show a number starting with 6.

## Sublime Text

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "4.0.0",
"private": true,
"engines": {
"node": ">=4.0 <6.7"
"node": ">=6.0 <7.0"
},
"scripts": {
"start": "node start.js",
Expand Down

0 comments on commit 3eec5e6

Please sign in to comment.