Coder Social home page Coder Social logo

bobsilverberg / addons-pm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla/addons-pm

0.0 1.0 0.0 8.24 MB

A site for viewing add-ons related project information.

License: Mozilla Public License 2.0

HTML 1.57% JavaScript 93.70% SCSS 4.60% Shell 0.11% Procfile 0.02%

addons-pm's Introduction

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": "[email protected]", "name2": "[email protected]"}

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

addons-pm's People

Contributors

bobsilverberg avatar dependabot[bot] avatar diox avatar greenkeeper[bot] avatar kumar303 avatar mozilla-github-standards avatar muffinresearch avatar renovate-bot avatar renovate[bot] avatar wagnerand avatar willdurand avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.