Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 665 Bytes

File metadata and controls

25 lines (17 loc) · 665 Bytes

PRD Kit

Pre-requisites

Install Forge CLI: npm i -g @forge/cli@latest

Docs: https://developer.atlassian.com/platform/forge/cli-reference/

Getting Started

  1. Clone this repository
  2. Run npm install
  3. Run npm run dev for active development via tunneling.
  4. Run npm run deploy to deploy your changes to dev.
  5. Run npm run deploy:prod to deploy your changes to prod.

How to find your environment type

import { getAppContext } from "@forge/api";
const { environmentType } = getAppContext(); // "production" | "development"

Learn more: https://developer.atlassian.com/platform/forge/runtime-reference/app-context-api/