Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 822 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 822 Bytes

Carbon Neutral Map

This is the source code for the Carbon Netural Map website.

Getting Started

Dependencies

  • ruby - rbenv is a good way of getting it.
  • nodejs - nvm is another good way of getting it
  • postgres

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

Scripts

  • ./nuke - Delete and Create a local test database
  • ./run_tests - Run the tests