зеркало из https://github.com/mozilla/addons-pm.git
d426681c69 | ||
---|---|---|
.circleci | ||
bin | ||
components | ||
config | ||
lib | ||
pages | ||
public | ||
styles | ||
tests | ||
.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 | ||
renovate.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"}