Skip to content

Commit a057dc0

Browse files
PROD-2309 #comment add support for local and dev .env files #time 30m
1 parent a2685c4 commit a057dc0

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ build_configuration_fetch: &build_configuration_fetch
6363
command: |
6464
./awsconfiguration.sh $DEPLOY_ENV
6565
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
66+
aws s3 cp s3://tc-platform-${LOGICAL_ENV}/securitymanager/${LOGICAL_ENV}-platform-ui.env ./.env
6667
6768
lint_steps: &lint_steps
6869
# Initialization.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
.env.development.local
1818
.env.test.local
1919
.env.production.local
20+
.env
2021

2122
npm-debug.log*
2223
yarn-debug.log*

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Pre-existing user interfaces will be ported to here over time until this is the
1111

1212
- [Local Environment Setup](#local-environment-setup)
1313
- [Deployments](#deployments)
14+
- [Developer Center specific setup](#developer-center-specific-setup)
1415
- [Yarn Commands](#yarn-commands)
1516

1617
# Application structure

src-ts/tools/dev-center/dev-center.routes.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ export const devCenterRoutes: Array<PlatformRoute> = [
1010
{
1111
element: <GettingStartedGuide />,
1212
route: '/getting-started',
13-
title: toolTitle,
1413
},
1514
{
1615
element: <DevCenterLandingPage />,
1716
route: '/',
18-
title: toolTitle,
1917
},
2018
],
2119
element: <DevCenter />,

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"src-ts"
3030
],
3131
"exclude": [
32-
"**/*.test.*"
32+
"**/*.test.*",
33+
".env"
3334
]
34-
}
35+
}

tslint.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"src-ts/**/*"
1010
],
1111
"exclude": [
12-
"src-ts/**/*.test*"
12+
"src-ts/**/*.test*",
13+
".env"
1314
],
1415
"rules": {
1516
"array-type": [
@@ -174,4 +175,4 @@
174175
"check-type"
175176
]
176177
}
177-
}
178+
}

0 commit comments

Comments
 (0)