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
Denis Shevchenko
committed
Oct 20, 2020
1 parent
6b0c836
commit ecf249b
Showing
65 changed files
with
54 additions
and
6,364 deletions.
There are no files selected for viewing
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
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,29 @@ | ||
#!/usr/bin/env bash | ||
# shellcheck disable=SC1090 | ||
|
||
BASEDIR="$(realpath "$(dirname "$0")")" | ||
. "$(realpath "${BASEDIR}"/../../scripts/common.sh)" | ||
|
||
RTVIEW_EXE=cardano-rt-view | ||
RTVIEW_ACHIVE=$RTVIEW_EXE.tar.gz | ||
RTVIEW_DIR=/tmp/rt-view | ||
|
||
RTVIEW_WEB_PORT=12799 | ||
CONFIG_DIR=${BASEDIR}/configuration-$era | ||
RTVIEW_CONFIG=${CONFIG_DIR}/configuration-rt-view.yaml | ||
|
||
PIPES_DIR=logs/sockets | ||
if [ ! -d $PIPES_DIR ]; then | ||
mkdir -p $PIPES_DIR | ||
else | ||
rm $PIPES_DIR/* | ||
fi | ||
|
||
rm -rf $RTVIEW_DIR | ||
|
||
mkdir $RTVIEW_DIR | ||
cd $RTVIEW_DIR | ||
wget -O $RTVIEW_ACHIVE https://hydra.iohk.io/build/4447146/download/1/cardano-rt-view-0.1.0-linux-x86_64.tar.gz | ||
tar -xf $RTVIEW_ACHIVE | ||
cd $BASEDIR | ||
/$RTVIEW_DIR/$RTVIEW_EXE --config $RTVIEW_CONFIG --static /$RTVIEW_DIR/static --port $RTVIEW_WEB_PORT |
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
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.
Oops, something went wrong.