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.
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
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.
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
oc apply -f manifests/