- Windows
a.%USERPROFILE%.npmrc (eg: C:\Users\username.npmrc) - Linux a.~/.npmrc (eg: /home/username/.npmrc)
- Mac a.~/.npmrc (eg: /Users/username/.npmrc)
- Content of the npmrc file. a. Add the following content to the npmrc file.
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
registry=https://registry.npmjs.org/
strict-ssl=false
@digital-ai:registry=https://registry.npmjs.orgSetup of Digital-ai Deploy , Digital-ai Release and Backstage using script available under docker directory.
cd backstage-with-new-backend
yarn installThis section outlines how to configure and run the Backstage application. Please follow the instructions carefully.
Before you run the Backstage application, you need to update the docker/dai-backstage_up.sh file according to your desired method of execution:
-
To run the backstage in docker with the github auth , dai-release and dai-deploy plugin:
- Refer the docker/README.md for more details.
- Set the value of
START_BACKSTAGE_IN_DOCKERtotrue.
-
To start Backstage from a script:
- Set the value of
BACKSTAGE_MANUAL_INSTALLtofalse.
- Set the value of
-
To start Backstage manually:
- Set the value of
BACKSTAGE_MANUAL_INSTALLtotrue. - You will find the
.envfile in thebacstage-new-backenddirectory.
- Set the value of
# Set Network, Environment variables and start the services.
export NETWORK_NAME=dai-backstage
export DAI_RELEASE_IMAGE=xebialabs/xl-release:24.3
export DAI_DEPLOY_IMAGE=xebialabs/xl-deploy:24.3
export DAI_BACKSTAGE_IMAGE=xebialabsunsupported/dai-backstage-docker:1.0.1
export DAI_DEPLOY_USERNAME=admin
export DAI_DEPLOY_PASSWORD=admin
export GITHUB_TOKEN=<GITHUB_TOKEN>
export AUTH_GITHUB_CLIENT_ID=<AUTH_GITHUB_CLIENT_ID>
export AUTH_GITHUB_CLIENT_SECRET=<AUTH_GITHUB_CLIENT_SECRET>
export START_BACKSTAGE_IN_DOCKER=false
export BACKSTAGE_MANUAL_INSTALL = true- Run the following command to start the deploy, release and backstage
cd docker
./dai-backstage_up.sheg: We are starting the release and deploy with a script and updating the environment file in the backstage-new-backend directory.

- Start the Backstage application using the following command:
cd ../backstage-with-new-backend
LOG_LEVEL=debug NODE_OPTIONS=--no-node-snapshot yarn dev:env- View the Digital-ai Deploy - Active Deployment in Backstage app.

- View the Digital-ai Deploy - Archive Deployment in Backstage app.

- View the Digital-ai Release - Active Release in Backstage app.

- View Digital-ai Release - Template in Backstage app.

- View Digital-ai Release - Workflow in Backstage app.

cd backstage-with-new-backendyarn install[ishwarya@ishwarya-Precision-5480 backstage-with-new-backend]* update_readme $ cat .env
GITHUB_TOKEN=ghp_vC2ZE2Xzklr6UbegqWIwle8OvAfeBR01De4Aey
DAI_RELEASE_INSTANCE1_NAME=dai-release-instance
DAI_RELEASE_INSTANCE1_TOKEN=
DAI_RELEASE_INSTANCE1_HOST=http://172.29.0.2:5516
DAI_DEPLOY_HOST=http://172.29.0.3:4516
DAI_DEPLOY_USERNAME=admin
DAI_DEPLOY_PASSWORD=admin
DAI_DEPLOY_AUTH_TOKEN=Basic YWRtaW46YWRtaW4=- Run the following command to start the backstage app.
LOG_LEVEL=debug NODE_OPTIONS=--no-node-snapshot yarn dev:env- Open your browser at http://localhost:3000 to access the backstage with the default plugins[dai-release, dai-deploy] installed.
Digital.ai Deploy:
Digital.ai Release: