-
Notifications
You must be signed in to change notification settings - Fork 6
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 #82 from entando/ENG-702_static-resources-not-copi…
…ed-in-final-bundle Eng 702 static resources not copied in final bundle
- Loading branch information
Showing
10 changed files
with
85 additions
and
8 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
generators/entity-server/templates/ui/widgets/detailsWidget/.env.production.ejs
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 @@ | ||
<%# { "useBluePrint": true } -%> | ||
REACT_APP_SERVICE_URL=http://localhost:<%= serverPort %>/services/<%= baseName %>/api | ||
REACT_APP_KEYCLOAK_URL=http://localhost:9080/auth | ||
REACT_APP_KEYCLOAK_REALM=jhipster | ||
REACT_APP_KEYCLOAK_CLIENT_ID=web_app |
5 changes: 5 additions & 0 deletions
5
generators/entity-server/templates/ui/widgets/formWidget/.env.production.ejs
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 @@ | ||
<%# { "useBluePrint": true } -%> | ||
REACT_APP_SERVICE_URL=http://localhost:<%= serverPort %>/services/<%= baseName %>/api | ||
REACT_APP_KEYCLOAK_URL=http://localhost:9080/auth | ||
REACT_APP_KEYCLOAK_REALM=jhipster | ||
REACT_APP_KEYCLOAK_CLIENT_ID=web_app |
5 changes: 5 additions & 0 deletions
5
generators/entity-server/templates/ui/widgets/tableWidget/.env.production.ejs
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 @@ | ||
<%# { "useBluePrint": true } -%> | ||
REACT_APP_SERVICE_URL=http://localhost:<%= serverPort %>/services/<%= baseName %>/api | ||
REACT_APP_KEYCLOAK_URL=http://localhost:9080/auth | ||
REACT_APP_KEYCLOAK_REALM=jhipster | ||
REACT_APP_KEYCLOAK_CLIENT_ID=web_app |
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
echo "" | ||
echo "Building project and Docker image " | ||
export MY_IMAGE=$(./mvnw -Pprod clean package jib:dockerBuild | while read i | ||
do | ||
if [[ "$i" == *"Built image to Docker daemon"* ]]; then | ||
echo "$i" | awk '{print $NF}' | ||
fi | ||
done | ||
) | ||
echo "Built $MY_IMAGE" | ||
|
||
echo "" | ||
echo "Uploading $MY_IMAGE to dockerhub" | ||
docker push $MY_IMAGE |
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