Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.
/ copyright Public archive

Source of the Copyright campaign website

License

Notifications You must be signed in to change notification settings

mozilla/copyright

Repository files navigation

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