From a8bd6072cd118f69c54e025daac59cb40f370776 Mon Sep 17 00:00:00 2001 From: Derek Ekins Date: Wed, 11 Mar 2020 20:19:52 +0000 Subject: [PATCH] added instructions for installing nodejs/yarn --- README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 67a8b5f..35fb95b 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,20 @@ This is the source code for the [Carbon Netural Map](https://carbonneutralmap.or ## Getting Started ### Dependencies - - ruby - [rbenv](https://github.com/rbenv/rbenv) is a good way of getting it. - - postgres -### Installation +- ruby - [rbenv](https://github.com/rbenv/rbenv) is a good way of getting it. +- nodejs - [nvm](https://github.com/nvm-sh/nvm) is another good way of getting it +- postgres - - Clone the repo :-) - - run `gem install bundler` (if you don't have it already) - - run `bundle` from the root of the project - - run `./nuke` to setup the database (if you run this again it will delete the database, handy but be careful) - - run `rails s` and visit [http://localhost:3000](http://localhost:3000) +### Installation +- Clone the repo :-) +- run `gem install bundler` (if you don't have it already) +- run `bundle` from the root of the project +- run `npm install -g yarn` +- run `yarn` from the root of the project +- run `./nuke` to setup the database (if you run this again it will delete the database, handy but be careful) +- run `rails s` and visit [http://localhost:3000](http://localhost:3000) ## Scripts