Source of the Copyright campaign website
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
less
lib
locales
routes
scripts
src
.babelrc
.eslintignore
.eslintrc
.gitignore
.jshintrc
.travis.yml
LICENSE
Procfile
README.md
app.json
intl-config.js
package-lock.json
package.json
sample.env
server.js
start.js
webpack.config.js

README.md

Overview

This is the repository for https://changecopyright.org

Getting Started

Clone a copy of the repository using something like git.

To get a local version of the site running, you'll need node 8 or higher installed on your local machine.

Build

To start local development, install and run the following commands:

$ cp sample.env .env
$ npm install
$ npm start

Develop Workflow

After successfully building and running the server, go to localhost:4000/

You can now start changing files in the /src directory, such that saving your changes and refreshing the browser will show your changes.

Files outside of /src require npm start to be rerun.

Location ID

To switch campaign IDs based on location, change the env LOCATION_ID

Brussels = 1 is also the default.

Strasbourg = 2