forked from jig21nesh/postfacto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use one deploy script for both PWS and PCF
- Update the package.sh script to use this one script - PCF's deploy.sh used to build the front end, but that's not the spirit of the release package - Update PCF/config/config.js to use correct websocket port (4443)
- Loading branch information
Showing
5 changed files
with
24 additions
and
29 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 |
---|---|---|
|
@@ -4,9 +4,11 @@ set -e | |
|
||
# The directory in which this script is located | ||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
ASSETS_DIR="$SCRIPT_DIR"/assets | ||
CONFIG_DIR="$SCRIPT_DIR"/config | ||
|
||
cf push -f config/manifest-api.yml -p "$SCRIPT_DIR"/assets/api | ||
cf push -f "$CONFIG_DIR"/manifest-api.yml -p "$ASSETS_DIR"/api | ||
cf run-task {{api-app-name}} '[email protected] ADMIN_PASSWORD=password rake admin:create_user' | ||
|
||
cp config/config.js "$SCRIPT_DIR"/assets/web | ||
cf push -f config/manifest-web.yml -p "$SCRIPT_DIR"/assets/web | ||
cp "$CONFIG_DIR"/config.js "$ASSETS_DIR"/web | ||
cf push -f "$CONFIG_DIR"/manifest-web.yml -p "$ASSETS_DIR"/web |
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 |
---|---|---|
|
@@ -53,6 +53,11 @@ Contact: [email protected] | |
Product Designer: Zarrin Rahman | ||
Contact: [email protected] | ||
|
||
/* PIVOTAL PARIS */ | ||
|
||
Engineer: Daniel Garnier-Moiroux | ||
Contact: [email protected] | ||
|
||
/* CONTRIBUTORS */ | ||
|
||
Engineer: Andrew Leung | ||
|
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