Skip to content

access-ci-org/Operations_WebApp_IntegrationBadges

Repository files navigation

ACCESS Integration Dashboard Django WebApp

Prerequisites

NodeJS : https://nodejs.org/en/download

Run the React Code

This would run a web app on localhost pointing to the beta server.

cd ./IntegrationBadgesUI/integration-badges-ui-react

npm install

npm run dev

http://localhost:5173/

Build the React Code

This would build the react code and put them to the static folder of the Django app.

npm install

npm run build

Webapp CDN Integration

<-- ########### favicon ########### -->
<!-- IE -->
<link rel="shortcut icon" type="image/x-icon"
      href="https://cdn.jsdelivr.net/gh/access-ci-org/[email protected]/favicon.ico"/>
<!-- other browsers -->
<link rel="icon" type="image/x-icon"
      href="https://cdn.jsdelivr.net/gh/access-ci-org/[email protected]/favicon.ico"/>
<link rel="icon" type="image/vnd.microsoft.icon"
      href="https://cdn.jsdelivr.net/gh/access-ci-org/[email protected]/favicon.ico"/>

<-- ########### fonts ########### -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

<link href="https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
      rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Coming+Soon&display=swap" rel="stylesheet">

<script>
    window.SETTINGS = {
        APP_BASENAME: "/IntegrationBadgesUI",
        OPERATIONS_API_BASE_URL: "https://operations-api.access-ci.org",
        DASHBOARD_BASE_URL: window.location.origin,

        // OPERATIONS_API_INTEGRATION_BADGES_PATH: "/wh2/integration_badges/v1",
        // OPERATIONS_API_ORGANIZATIONS_PATH: "/wh2/cider/v1",
        // DISABLE_DASHBOARD_AUTHENTICATION: "true"
    };
</script>
<script type="module" crossorigin
        src="https://cdn.jsdelivr.net/gh/access-ci-org/[email protected]/build/index.js"></script>
<link rel="stylesheet" crossorigin
        href="https://cdn.jsdelivr.net/gh/access-ci-org/[email protected]/build/index.css"/>
<div id="Operations_WebApp_IntegrationBadges"></div>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •