Coder Social home page Coder Social logo

civic-makers-climate-change-visualization's Introduction


An awesome README to tell you everything you need to know about this project.

Table of Contents

About The Project

This is a website that will inform visitors about the following:

  • Why act on climate change now?
  • What you can do about it?
  • Why you should get all your friends and family to help too.
  • Timeline of significant climate-change related events (including related Australian Parliament Motions/Bills/Divisions).
  • Which Members of Parliament (MP) voted for/against motions/bills/divisions.
  • MP statistics of their previous voting record and a measure of how accountable they are of keeping their promises.
  • Contact forms to MPs to influence their future decisions.
  • How to share the above information with others.

Built With

Prerequisites to Getting Started

  • Docker Desktop

Getting Started

  1. Clone the project source code.
git clone https://github.com/AVu120/civic-makers-climate-change-visualization.git
  1. Navigate into the project directory.
cd civic-makers-climate-change-visualization
  1. Build the client & server docker images, run them as containers and have them talking to each other in 1 command.
docker-compose up
  • Wait until both containers are up and running before proceeding.
  • Client is running on port 3000.
  • Server is running/listening on port 5000.
  1. When necessary, install only the client dependencies you need (e.g. react-scripts to 'npm run build' and testing libraries).
cd client
npm i react-scripts etc.
  1. When you need to add new npm packages to an image/container, stop that container first, then run
docker-compose build <service-name>

then run

docker-compose up

to restart all the containers (with the new packages).

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.

How to deploy the application

The application is currently hosted on Github Pages.

To deploy the app to Github Pages, run the following commands:

cd client/
npm install  ## [optional] only install dependencies if you haven't done so earlier!
npm run deploy

The command will perform the following actions:

  1. build the react app (using npm run build)
  2. push the build artifacts to the gh-pages branch

This repo has been set up to serve the content in gh-pages branch on Github Pages

The gh-pages tool was used to ease the deployment of this app.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project.
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature).
  3. Commit your Changes (git commit -m 'Add some AmazingFeature').
  4. Push to the Branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request (PR).
  6. After 1-2 approvals, the PR will be merged.

Asking for Help

  • Please ask on our slack channel #civic-makers-climatechange-dev if you:
    • have any questions regarding any of the tasks in our Trello board
    • have any questions relating to the development of the climate change app
    • need help with a task you are working on from the Trello board
    • have any other questions/proposals you'd like to put to the dev team
  • please be patient with our response, as most of us are only working on this in our spare time
  • If you like to find out more about what everyone is working on, please come to our weekly Wednesday evening catchups to meet the team! Please ask on #civic-makers-climatechange slack channel to get an invite.
  • Some of the dev folk will usually hang around after the catchup to discuss on outstanding issues and do some remote pair/mob programming. But if the timing doesn't work for you, don't fret, please ask on #civic-makers-climatechange-dev to arrange a more suitable time to pair!

Project Conventions

Contributors

Contact

Emails

Acknowledgements

civic-makers-climate-change-visualization's People

Contributors

avu120 avatar hqtan avatar mishfish123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.