-
Notifications
You must be signed in to change notification settings - Fork 9
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 #92 from spryker/feature/cronicle
[DRAFT] Cronicle
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
export SPRYKER_CRONICLE_BASE_PATH=/data/shop/development/current | ||
export SPRYKER_PROJECT_ROOT=/data/shop/development/current | ||
export SPRYKER_ENABLED_SCHEDULERS="{\"cronicle\":{\"base_url\":\"http:\\/\\/localhost:3012\",\"api_key\":\"secure-string\"}}" | ||
export SPRYKER_ENABLED_SCHEDULER_STORES="[\"DE\",\"AT\",\"US\"]" | ||
export SPRYKER_STORE_SPECIFIC="{\"DE\":{\"APPLICATION_STORE\":\"DE\",\"SPRYKER_SEARCH_NAMESPACE\":\"de_search\",\"SPRYKER_KEY_VALUE_STORE_NAMESPACE\":1,\"SPRYKER_BROKER_NAMESPACE\":\"DE_development_zed\",\"SPRYKER_SESSION_BE_NAMESPACE\":2},\"AT\":{\"APPLICATION_STORE\":\"AT\",\"SPRYKER_SEARCH_NAMESPACE\":\"at_search\",\"SPRYKER_KEY_VALUE_STORE_NAMESPACE\":1,\"SPRYKER_BROKER_NAMESPACE\":\"AT_development_zed\",\"SPRYKER_SESSION_BE_NAMESPACE\":2},\"US\":{\"APPLICATION_STORE\":\"US\",\"SPRYKER_SEARCH_NAMESPACE\":\"us_search\",\"SPRYKER_KEY_VALUE_STORE_NAMESPACE\":1,\"SPRYKER_BROKER_NAMESPACE\":\"DE_development_zed\",\"SPRYKER_SESSION_BE_NAMESPACE\":2}}" | ||
export SPRYKER_CURRENT_SCHEDULER="cronicle" | ||
export SPRYKER_SCHEDULER_API_KEY="secure-string" | ||
export SPRYKER_SCHEDULER_ADMIN_USERNAME="spryker" | ||
export SPRYKER_SCHEDULER_ADMIN_PASSWORD="secret" | ||
export SPRYKER_SCHEDULER_ADMIN_EMAIL="[email protected]" |
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,7 @@ | ||
#!/bin/sh | ||
|
||
cd ${SPRYKER_CRONICLE_BASE_PATH}/cronicle | ||
node bin/build.js dist | ||
./bin/control.sh setup | ||
node bin/hook.js before-start | ||
./bin/control.sh start |