alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
305 stars 236 forks source link

Documentation needed for Ubuntu setup #131

Closed jonathanthomas83 closed 8 years ago

jonathanthomas83 commented 8 years ago

Ubuntu version of nodejs is quite old (using apt-get install nodejs)

Setup fails at npm install, as the required version is 4.x.x.

Simple fix would be...

sudo apt-get install curl
curl --silent --location https://deb.nodesource.com/setup_4.x | sudo bash -
sudo apt-get install nodejs

Then run npm install again, should work.

timpaul commented 8 years ago

@edwardhorsford - want to incorporate this into your documentation improvements?

edwardhorsford commented 8 years ago

Already added :)

edwardhorsford commented 8 years ago

It looks like these commands are very similar to the install instructions given on the Node.js website. As they may update them in the future, I think it best to link to website directly.

https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

joelanman commented 8 years ago

now fixed:

https://github.com/alphagov/govuk_prototype_kit/blob/master/docs/install/requirements.md#linux-users