ce920795ca
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1. - [Release notes](https://github.com/graphql/graphql-js/releases) - [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1) --- updated-dependencies: - dependency-name: graphql dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.circleci | ||
.github | ||
bin | ||
components | ||
config | ||
lib | ||
pages | ||
public | ||
styles | ||
tests | ||
.babelrc | ||
.env | ||
.eslintrc | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
.stylelintrc | ||
CODE_OF_CONDUCT.md | ||
LICENSE.txt | ||
Procfile | ||
README.md | ||
jest.config.js | ||
jest.setup.js | ||
jsconfig.json | ||
next.config.js | ||
package.json | ||
yarn.lock |
README.md
Add-ons Project Manager
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