-
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.
* added debug .env file * added debug .env file * setting change * added debug .env file * setting change * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * designer env files * ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure [email protected] * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added azure workflow * added log msg to createCustomInstance * added log msg to createCustomInstance * added log msg to createCustomInstance * added log msg to createCustomInstance * added log msg to createCustomInstance * added log msg to createCustomInstance * added log msg to createCustomInstance * moved clearing of token on logout code * added location log message * added location log message * added location log message * removed homepage form package.json * added staticwebapp config file * Added localstorage reset * Added localstorage reset * Added revert changes from dev * Fixed file uploading processing * took out editorRef * config update * added process.env log * added process.env log * added process.env log * added process.env log * added process.env log * added process.env log * added process.env log * added process.env log * added process.env log * cleanup package.json * cleanup package.json * Update azure-static-web-apps-nice-island-07c034910.yml * Update azure-static-web-apps-nice-island-07c034910.yml --------- Co-authored-by: Corey Wirun <[email protected]>
- Loading branch information
1 parent
e1be51a
commit 44673ae
Showing
14 changed files
with
195 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
PROJECT_VERSION=4 | ||
PLAYER_PUBLIC_URL=/player | ||
PUBLIC_URL=/ | ||
xAPI_URL=https://localhost:7071/olab/api/v3 | ||
API_URL=https://olabdevapi.azurewebsites.net/olab/api/v3 | ||
PUBLIC_URL=/designer | ||
API_URL=https://logan.cardinalcreek.ca/olab/api/v3 | ||
NODE_ENV=production |
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,5 @@ | ||
PROJECT_VERSION=4 | ||
PLAYER_PUBLIC_URL=/player | ||
PUBLIC_URL=/ | ||
API_URL=https://olabdevapi.azurewebsites.net/olab/api/v3 | ||
NODE_ENV=production |
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,5 @@ | ||
PROJECT_VERSION=4 | ||
PLAYER_PUBLIC_URL=/player | ||
PUBLIC_URL=/designer | ||
API_URL=https://logan.cardinalcreek.ca/olab/api/v3 | ||
NODE_ENV=production |
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,4 @@ | ||
PROJECT_VERSION=4 | ||
PLAYER_PUBLIC_URL=/playerdebug | ||
PUBLIC_URL=/designerdebug | ||
API_URL=https://logan.cardinalcreek.ca/olabdebug/api/v3 |
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,4 @@ | ||
PROJECT_VERSION=4 | ||
PLAYER_PUBLIC_URL=/player | ||
PUBLIC_URL=/designer | ||
API_URL=https://logan.cardinalcreek.ca/olab/api/v3 |
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
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,25 @@ | ||
#!/bin/bash | ||
set -x | ||
if [ $# -eq 0 ] | ||
then | ||
echo "No arguments supplied: release | debug" | ||
exit -1 | ||
fi | ||
git pull | ||
if [ ! -L "build" ]; then | ||
ln -s /var/www/vhosts/olab46/$1/designer$1 build | ||
fi | ||
|
||
npm install | ||
npm run build | ||
|
||
if [ "$1" == "debug" ]; then | ||
npx webpack --node-env development | ||
fi | ||
|
||
if [ "$1" == "release" ]; then | ||
npx webpack --node-env production | ||
fi | ||
|
||
service nginx restart | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.