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!
Follow the instructions below to set up your local development environment.
The instructions will guide you to deploy two services locally:
- If you are a MAC user, please install Xcode using the following command
xcode-select --install
- 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
- Clone the project source code.
git clone https://github.com/CodeforAustralia/seechange.git
- Navigate into the project directory.
cd seechange
- Install node using nvm:
nvm install
nvm use
- 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
- To start up the client service run npm install
npm install
run npm start
npm start
- Go to http://localhost:3000/ . You should see a short welcome message if the app is running.
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.
- Kris (Tech Lead) - [email protected]
- Qing (Tech Lead) - [email protected]