-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #471 from pacificclimate/deprecate-process-env
Deprecate use of process.env for runtime config
- Loading branch information
Showing
31 changed files
with
212 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.git | ||
build | ||
node_modules | ||
.idea | ||
|
||
**/*.env* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
REACT_APP_TILECACHE_URL=https://services.pacificclimate.org/mapproxy/service | ||
REACT_APP_NCWMS_URL=https://beehive.pacificclimate.org/ncwms | ||
REACT_APP_CE_ENSEMBLE_NAME=ce_files | ||
REACT_APP_MAP_LAYER_ID_TYPE=dynamic | ||
REACT_APP_MAP_LAYER_ID_PREFIX=x | ||
REACT_APP_VARIABLE_OPTIONS=variable-options.yaml | ||
REACT_APP_EXTERNAL_TEXT=external-text/default.yaml | ||
PUBLIC_URL=%REPLACE_PUBLIC_URL% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
REACT_APP_CE_BACKEND_URL=https://beehive.pacificclimate.org/pcex/api | ||
REACT_APP_CE_BASE_PATH= | ||
PUBLIC_URL=http://localhost:3001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
REACT_APP_CE_BACKEND_URL=https://services.pacificclimate.org/pcex/api | ||
REACT_APP_CE_BASE_PATH=/pcex/app | ||
PUBLIC_URL=%REPLACE_PUBLIC_URL% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# These variables are set to make it convenient to run the docker image locally. | ||
tag = $(shell git rev-parse --abbrev-ref HEAD) | ||
port = 30504 | ||
public_url = http://localhost:${port} | ||
|
||
image: | ||
@npm run build | ||
@PCEX_TAG=$(tag) PCEX_PORT=$(port) docker compose -f docker/docker-compose.yaml build | ||
|
||
up: | ||
@PCEX_TAG=$(tag) PCEX_PORT=$(port) docker compose -f docker/docker-compose.yaml up --force-recreate | ||
@echo "Station Data Portal running on $(port)" | ||
@docker logs -f station-data-portal-frontend | ||
|
||
down: | ||
@PCEX_TAG=$(tag) PCEX_PORT=$(port) docker compose -f docker/docker-compose.yaml down |
Oops, something went wrong.