-
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.
fixed restart / rerun of meteor job collection to update blockchain w…
…ith doi signature
- Loading branch information
1 parent
3b4bf29
commit b687ad5
Showing
4 changed files
with
23 additions
and
20 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,12 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
rm -rf build && meteor build build/ --architecture os.linux.x86_64 --directory #this takes a lot of time and could be excluded when not needed. | ||
npm cache verify | ||
cd build/bundle/programs/server/ | ||
meteor npm install --save bcrypt #@babel/runtime | ||
meteor npm install --save bcrypt | ||
cd - | ||
export METEOR_SETTINGS=$(cat settings-jenkins-bob.json) | ||
echo $METEOR_SETTINGS | ||
export PORT=4000 | ||
export ROOT_URL=http://localhost:4000 | ||
export MONGO_URL=mongodb://mongo:27017/bob | ||
nohup node build/bundle/main.js & | ||
nohup node build/bundle/main.js #don't in background |
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