Skip to content

Latest commit

 

History

History
102 lines (65 loc) · 2.32 KB

README.md

File metadata and controls

102 lines (65 loc) · 2.32 KB

Table of Contents


About The Project

This is a Civic Makers project for Code for Australia. It's main goal will be to inform about climate change policies in Australia and encourage visitors to take action. Stay tuned for details!


Getting Started

Follow the instructions below to set up your local development environment.

The instructions will guide you to deploy two services locally:

  1. If you are a MAC user, please install Xcode using the following command
xcode-select --install
  1. Install nvm, a version manager for node.js (for more information see: https://github.com/nvm-sh/nvm)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

nvm --version

  1. Clone the project source code.
git clone https://github.com/CodeforAustralia/seechange.git
  1. Navigate into the project directory.
cd seechange
  1. Install node using nvm:
nvm install
nvm use
  1. Double check you are using the right version of node by typing the following command. the version number should match the version number mentioned in .nvmrc file:
$ cat .nvmrc
14.15.1

$ node --version
v14.15.1
  1. To start up the client service run npm install
npm install

run npm start

npm start
  1. Go to http://localhost:3000/ . You should see a short welcome message if the app is running.

Accessing the Application

The application is currently hosted on Github Pages.

On your local development instance, enter http://localhost:3000 into any web-browser to view the app.

Contact

Acknowledgements