A site for viewing add-ons related project information.
Перейти к файлу
Mathieu Pillard fa12f52e9d
Use labels without spaces (#1036)
2023-01-11 13:25:51 +01:00
.circleci Update Node.js to v16.19 2022-12-29 20:55:33 +00:00
.github Create dependabot.yml (#1030) 2023-01-05 20:02:21 +01:00
bin
components Use labels without spaces (#1036) 2023-01-11 13:25:51 +01:00
config Separate CSP directives with " " instead of "\n" 2022-09-27 17:03:15 +02:00
lib Use labels without spaces (#1036) 2023-01-11 13:25:51 +01:00
pages Use labels without spaces (#1036) 2023-01-11 13:25:51 +01:00
public
styles Update dependency stylelint to v14 (#725) 2022-09-29 22:13:28 +02:00
tests Use labels without spaces (#1036) 2023-01-11 13:25:51 +01:00
.babelrc Revert "Remove .babelrc to enable SWC" 2021-11-29 13:51:34 +00:00
.env
.eslintrc Update babel-eslint to @babel/eslint-parser 2022-03-22 10:33:00 -04:00
.gitignore React bootstrap 2 (#755) 2021-11-26 18:16:17 +00:00
.prettierignore
.prettierrc
.stylelintrc Update dependency stylelint to v14 (#725) 2022-09-29 22:13:28 +02:00
CODE_OF_CONDUCT.md
LICENSE.txt
Procfile
README.md Minor doc tweak 2023-01-05 15:16:02 +01:00
jest.config.js Use new Codecov Uploader via Circle ORB (#733) 2021-11-03 16:04:20 +01:00
jest.setup.js
jsconfig.json
next.config.js Update dependency next to v11 (#616) 2021-07-29 12:30:08 +01:00
package.json Bump @babel/core from 7.20.7 to 7.20.12 (#1035) 2023-01-10 15:35:01 +01:00
yarn.lock Bump @babel/core from 7.20.7 to 7.20.12 (#1035) 2023-01-10 15:35:01 +01:00

README.md

Add-ons Project Manager

CircleCI codecov

This app is a view on the org level projects specific to add-ons.

Development Requirements

  • Uses node LTS
  • Uses yarn

Installation and start-up

  • yarn install
  • yarn dev

yarn dev will start the Next.js development environment.

Environment Variables

The server requires setting some required environment variables. To do this create a .env.local file in the root of your checkout (Note: .env.local files are .gitignored) and add the following:

GH_TOKEN

GH_TOKEN=this-should-be-a-personal-access-token

You can generate a personal access token token here: https://github.com/settings/tokens and you'll need the following scopes:

public_repo, read:org

BZ_USERS

For needinfos to work the BZ_USERS env var should contain nicknames and Bugzilla users.

BZ_USERS={"name": "bz-email@example.com", "name2": "bz-email@example.com"}

Deployment

The current method used to deploy to Heroku is via git. To do that you'll need to setup the relevant branches and then, as long as you have rights to the apps in Heroku, you'll be able to do a release by pushing to the relevant remote repo.

Pushing to the a remote repo will start the deployment process and you'll get feedback in the terminal. For more details on this process see: https://devcenter.heroku.com/articles/git

Requirements

Install the heroku CLI.

Add heroku git repos:

git remote add staging https://git.heroku.com/addons-pm-staging.git
git remote add production https://git.heroku.com/addons-pm.git

Pushing to stage

Double check you're on the revision you want to deploy.

heroku login
git push staging

Pushing to prod

Double check you're currently on the revision you want to deploy.

heroku login
git push production