Skip to content

dora-metrics/developer-intelligence-prototype

 
 

Repository files navigation

Red Hat Developer Intelligence is a proof of concept prototype to demonstrate advanced analytics and insights, designed specifically for developers. It empowers them with valuable data-driven insights to enhance productivity and efficiency.

This is a Next.js project bootstrapped with create-next-app. The user interface is built with ShadCN UI and extended with Tailwind CSS.

Note: These libraries are strictly used for rapid prototyping purposes. For long-term production use-cases, other libraries may be recommended.

Getting Started

Environment variables

First, you'll want to store environment variables locally so you can authenticate and access the application. Create a .env.local file in the root of your repository and add the following code:

NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=

To create a NEXTAUTH_SECRET you can refer to NextAuth options

To create a GITHUB_ID and GITHUB_SECRET you can refer to GitHub provider options

To create a GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET you can refer to Google provider options

Run the local server

Next, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the application.

Sign in

Building the Code

podman build -f Containerfile -t quay.io/etsauer/pelorus-ui:dev --build-arg "COMMIT_ID=$(git rev-parse HEAD)" --build-arg "COMMIT_DATE=$(git log -1 --format='%ad' --date='format:%a %b %d %H:%M:%S %Y %z')" --build-arg "ORIGIN_URL=$(git config --get remote.origin.url)"
podman push quay.io/etsauer/pelorus-ui:dev

Deployment in OpenShift

oc apply -f manifests/

About

Prototype for tracking and analyzing developer insights

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.7%
  • TypeScript 5.6%
  • SCSS 1.2%
  • Other 1.5%