Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 926 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 926 Bytes

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