Giter Club home page Giter Club logo

climatechangeisreal's Introduction

Climate Change is Real

This repository contains copies of the climate change websites, data, and other information that was unceremoniously removed from the Environmental Protection Agency. While the EPA removed the websites, it does not eliminate the risk the climate change poses to people. These pages provide scientifically-based information about climate change, the risk it poses, and what we can do to combat it.

This repository allows others to republish information on climate change on their own website, such as cityofchicago.org/climatechangeisreal, so people can still access this vital information. Republishing this information across multiple organizations helps raise the profile of climate change risks even higher and makes a statement that the science that demonstrates the rise in global temperatures cannot simply be deleted.

A list of cities who republished these websites are available here.

Contributing Changes

We invite others to help maintain this repository. If you notice any broken links, missing pages, or if more pages were removed, please open an issue or submit a pull request.

Hosting climatechangeisreal

There are two ways the website can be hosted in your own domain by either embedding an existing website or hosting the files on your own web servers.

Embed Website

An unbranded, static copy of the website is hosted at http://climatechangeisreal.s3-website.us-east-2.amazonaws.com/. This website can be embedded using an <iframe> on your domain. These files are updated once this repository is updated, ensuring minimal long-term maintenance.

Please note, this is hosted on an "http" URL, so it will result in mixed-content warnings if embedded on "https" sites.

Host Your Own

To begin, clone the repository to your preferred web server with git clone https://github.com/Chicago/climatechangeisreal.git.

Configure your web server using the following instructions. We also recommend that you automatically update the repository on a regular basis with a cron job or scheduled task with git pull origin master.

If git is not a viable solution, you can also simply download the entire contents as a ZIP file.

Apache

To host the site in Apache, you need the following Rewrite rules:

RewriteEngine On

RewriteRule ^/$ /climatechange

RewriteCond %{REQUEST_URI} !^/sites/(.*)
RewriteCond %{REQUEST_URI} !^/branding/(.*)
RewriteRule ^(.+) $1_.html 

IIS

Use the web.config file included in the repo.

Custom Branding

This repository is designed to allow custom branding to match your site's name and logo. The /branding folder contains customizable HTML stubs to integrate into your own website.

  • logo.png - Logo used in the site header
  • header.html - Contains the header, which includes logo.png
  • footer.html - Contains the site footer, which includes the copyright notice and reference to the organization
  • menu.html - Contains a simple "home button" so users can always navigate back to the /climatechangeisreal root. This file likely does not need to be changed.

After cloning the repository or pulling in new updates, simply copy your preferred branding to this folder using the above naming conventions.

climatechangeisreal's People

Contributors

chrisjcalderon avatar tomschenkjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

climatechangeisreal's Issues

Create "embed-able" version for CMS integration

Some cities have noted that they cannot build a standalone version of the "climatechangeisreal" website because of limitations and the need to integrate it into their CMS.

The objective is to create a version that can be embedded into other websites using something simple like an <iframe> tag. For most CMS platforms, cities can create a single webpage that simply contains an iframe.

My initial approach will be to deploy the webpages from GitHub to AWS S3 instance. S3 can host static webpages. Will use Travis CI to detect changes in GitHub and copy files to S3.

HTACCESS Recursion

I'm trying to set the site up here @CityOfBoston. I'm getting this recursion error using the sample .htaccess. I haven't been able to successfully figure out a solution. Any thoughts?

AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://138.197.13.68/

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.