Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .env.development copy.local
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
REACT_APP_ISDEVELOPMENT=true
REACT_APP_SHARED_API_URL=https://shared-api.rsgis.dev
REACT_APP_CUMULUS_API_URL=http://localhost
VITE_ISDEVELOPMENT=true
VITE_SHARED_API_URL=https://shared-api.rsgis.dev
VITE_CUMULUS_API_URL=http://localhost

# Auth URLs
REACT_APP_AUTH_HOST=https://develop-auth.corps.cloud/auth
REACT_APP_AUTH_REDIRECT_URL=http://localhost:3000
VITE_AUTH_HOST=https://develop-auth.corps.cloud/auth
VITE_AUTH_REDIRECT_URL=http://localhost:3000
18 changes: 9 additions & 9 deletions .env.development.local
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
##########################
# Configuration Parameters
##########################
REACT_APP_ISDEVELOPMENT=true
VITE_ISDEVELOPMENT=true


########################
# Authentication Details
########################
# REACT_APP_AUTH_MOCK_USER
# VITE_AUTH_MOCK_USER
# can be set to ADMIN, USER, or left blank
# Leaving REACT_APP_AUTH_MOCK_USER blank will cause the app not to run in "Auth Mocked Mode"
# and to instead send authentication requests to REACT_APP_AUTH_HOST
REACT_APP_AUTH_MOCK_USER=ADMIN
# Leaving VITE_AUTH_MOCK_USER blank will cause the app not to run in "Auth Mocked Mode"
# and to instead send authentication requests to VITE_AUTH_HOST
VITE_AUTH_MOCK_USER=ADMIN

# AUTH URLs
REACT_APP_AUTH_HOST=https://develop-auth.corps.cloud/auth
REACT_APP_AUTH_REDIRECT_URL=http://localhost:3000
VITE_AUTH_HOST=https://develop-auth.corps.cloud/auth
VITE_AUTH_REDIRECT_URL=http://localhost:3000


##########################
# APIs Used By Application
##########################
REACT_APP_CUMULUS_API_URL=http://localhost/api
REACT_APP_SHARED_API_URL=https://shared-api.corps.cloud
VITE_CUMULUS_API_URL=https://cumulus.dev.cwbi.us/api
VITE_SHARED_API_URL=https://shared-api.corps.cloud
18 changes: 9 additions & 9 deletions .env.disable
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
##########################
# Configuration Parameters
##########################
REACT_APP_ISDEVELOPMENT=false
VITE_ISDEVELOPMENT=false


########################
# Authentication Details
########################
# REACT_APP_AUTH_MOCK_USER
# VITE_AUTH_MOCK_USER
# can be set to ADMIN, USER, or left blank
# Leaving REACT_APP_AUTH_MOCK_USER blank will cause the app not to run in "Auth Mocked Mode"
# and to instead send authentication requests to REACT_APP_AUTH_HOST
REACT_APP_AUTH_MOCK_USER=
# Leaving VITE_AUTH_MOCK_USER blank will cause the app not to run in "Auth Mocked Mode"
# and to instead send authentication requests to VITE_AUTH_HOST
VITE_AUTH_MOCK_USER=

# AUTH URLs
REACT_APP_AUTH_HOST=https://identityc-test.cwbi.us/auth
REACT_APP_AUTH_REDIRECT_URL=https://cumulus.rsgis.dev
VITE_AUTH_HOST=https://identityc-test.cwbi.us/auth
VITE_AUTH_REDIRECT_URL=https://cumulus.rsgis.dev


##########################
# APIs Used By Application
##########################
REACT_APP_CUMULUS_API_URL=https://cumulus.rsgis.dev/api
REACT_APP_SHARED_API_URL=https://shared-api.corps.cloud
VITE_CUMULUS_API_URL=https://cumulus.rsgis.dev/api
VITE_SHARED_API_URL=https://shared-api.corps.cloud
10 changes: 5 additions & 5 deletions .github/workflows/cwbi-dev-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ permissions:
jobs:
Build-Push-UI-to-Dev:
env:
REACT_APP_AUTH_HOST: https://identityc-test.cwbi.us/auth
REACT_APP_AUTH_REDIRECT_URL: https://cumulus.dev.cwbi.us
REACT_APP_CUMULUS_API_URL: https://cumulus.dev.cwbi.us/api
# REACT_APP_SHARED_API_URL: https://develop-shared-api.corps.cloud
REACT_APP_ISDEVELOPMENT: true
VITE_AUTH_HOST: https://identityc-test.cwbi.us/auth
VITE_AUTH_REDIRECT_URL: https://cumulus.dev.cwbi.us
VITE_CUMULUS_API_URL: https://cumulus.dev.cwbi.us/api
# VITE_SHARED_API_URL: https://develop-shared-api.corps.cloud
VITE_ISDEVELOPMENT: true
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cwbi-test-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ permissions:
jobs:
Build-Push-UI-to-Dev:
env:
REACT_APP_AUTH_HOST: https://identityc-test.cwbi.us/auth
REACT_APP_AUTH_REDIRECT_URL: https://cumulus-test.cwbi.us
REACT_APP_CUMULUS_API_URL: https://cumulus-test.cwbi.us/api
# REACT_APP_SHARED_API_URL: https://develop-shared-api.corps.cloud
REACT_APP_ISDEVELOPMENT: true
VITE_AUTH_HOST: https://identityc-test.cwbi.us/auth
VITE_AUTH_REDIRECT_URL: https://cumulus-test.cwbi.us
VITE_CUMULUS_API_URL: https://cumulus-test.cwbi.us/api
# VITE_SHARED_API_URL: https://develop-shared-api.corps.cloud
VITE_ISDEVELOPMENT: true
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ on:
jobs:
build:
env:
REACT_APP_AUTH_HOST: https://develop-auth.corps.cloud/auth
REACT_APP_AUTH_REDIRECT_URL: https://develop-cumulus.corps.cloud
REACT_APP_CUMULUS_API_URL: https://develop-cumulus-api.corps.cloud
REACT_APP_SHARED_API_URL: https://develop-shared-api.corps.cloud
REACT_APP_ISDEVELOPMENT: true
VITE_AUTH_HOST: https://develop-auth.corps.cloud/auth
VITE_AUTH_REDIRECT_URL: https://develop-cumulus.corps.cloud
VITE_CUMULUS_API_URL: https://develop-cumulus-api.corps.cloud
VITE_SHARED_API_URL: https://develop-shared-api.corps.cloud
VITE_ISDEVELOPMENT: true
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ on:
jobs:
build:
env:
REACT_APP_AUTH_HOST: https://auth.corps.cloud/auth
REACT_APP_AUTH_REDIRECT_URL: https://cumulus.corps.cloud
REACT_APP_CUMULUS_API_URL: https://cumulus-api.corps.cloud
REACT_APP_SHARED_API_URL: https://shared-api.corps.cloud
REACT_APP_ISDEVELOPMENT: false
VITE_AUTH_HOST: https://auth.corps.cloud/auth
VITE_AUTH_REDIRECT_URL: https://cumulus.corps.cloud
VITE_CUMULUS_API_URL: https://cumulus-api.corps.cloud
VITE_SHARED_API_URL: https://shared-api.corps.cloud
VITE_ISDEVELOPMENT: false
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tailwindui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
jobs:
build:
env:
REACT_APP_AUTH_HOST: https://develop-auth.corps.cloud/auth
REACT_APP_AUTH_REDIRECT_URL: https://develop-cumulus-tailwindui.corps.cloud
REACT_APP_CUMULUS_API_URL: https://develop-cumulus-api.corps.cloud
REACT_APP_SHARED_API_URL: https://develop-shared-api.corps.cloud
REACT_APP_ISDEVELOPMENT: true
VITE_AUTH_HOST: https://develop-auth.corps.cloud/auth
VITE_AUTH_REDIRECT_URL: https://develop-cumulus-tailwindui.corps.cloud
VITE_CUMULUS_API_URL: https://develop-cumulus-api.corps.cloud
VITE_SHARED_API_URL: https://develop-shared-api.corps.cloud
VITE_ISDEVELOPMENT: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
27 changes: 27 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en" class="h-full bg-gray-50">
<head>
<meta charset="utf-8" />
<!-- Vite will replace %BASE_URL% with your `base` config (defaults to "/") -->
<link rel="icon" href="%BASE_URL%favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using Vite + React"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would change the content, might mess with the site's SEO

/>
<link rel="apple-touch-icon" href="%BASE_URL%logo192.png" />
<link rel="manifest" href="%BASE_URL%manifest.json" />
<title>Cumulus</title>
</head>
<body class="h-full overflow-hidden">
<div id="root" class="h-full overflow-hidden">
<noscript>You need to enable JavaScript to run this app.</noscript>
</div>
<!--
This is your React entry point.
Vite will transform this to the correct hashed filename when you build.
-->
<script type="module" src="/src/index.jsx"></script>
</body>
</html>
Loading