4c57d8e66d
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 13.4.0 to 14.0.0. - [Release notes](https://github.com/testing-library/react-testing-library/releases) - [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/react-testing-library/compare/v13.4.0...v14.0.0) --- updated-dependencies: - dependency-name: "@testing-library/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.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