Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

mozilla/oi-fenix-campaign

Repository files navigation

Mozilla Fenix Campaign

Campaign Bug Reporting page for the upcoming Fenix Campaign lead by the Open Innovation Team.

Setting up the server

Requirements

  • First install Docker and docker-compose
  • Create a repository to hold the submitted issues
  • Create a "triage" label for issues in that repository
  • Create a personal access token for your GitHub user

Starting

Then you can start the server with the following command. Make sure to replace the placeholders with your data.

$ git clone <URL>
$ cd fenix-campaign
$ npm install
$ GITHUB_TOKEN=<yourGitHubToken> OWNER=<yourGitHubUsername> REPO=<yourGitHubRepoForIssues> npm start

Now you can access the website for it at localhost:4000.

Note: When running locally, screenshots won't be appended to the resulting GitHub Issue

Without Docker

If you wanna use it without docker, you can run it by:

$ git clone <URL>
$ cd fenix-campaign
$ npm install
$ GITHUB_TOKEN=<yourGitHubToken> OWNER=<yourGitHubUsername> REPO=<yourGitHubRepoForIssues> SESSION_SECRET=someSECRET BASE_URL=http://localhost:4000 node index