-
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.
- Loading branch information
1 parent
44673ae
commit 41096f1
Showing
14 changed files
with
119 additions
and
195 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,5 +1,6 @@ | ||
PROJECT_VERSION=4 | ||
PLAYER_PUBLIC_URL=/player | ||
PUBLIC_URL=/designer | ||
API_URL=https://logan.cardinalcreek.ca/olab/api/v3 | ||
PUBLIC_URL=/ | ||
xAPI_URL=https://localhost:7071/olab/api/v3 | ||
API_URL=https://olabdevapi.azurewebsites.net/olab/api/v3 | ||
NODE_ENV=production |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,25 +1,7 @@ | ||
#!/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 | ||
|
||
if [ "$1" == "debug" ]; then | ||
npx webpack --node-env development | ||
fi | ||
|
||
if [ "$1" == "release" ]; then | ||
npx webpack --node-env production | ||
fi | ||
|
||
npm run build | ||
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.