forked from cerc-io/laconicd-deprecated
fd0e62a067
* first pass * latest * working tests * github actions * remove unnecessary change * remove unnecessary steps * remove unnecessary import * remove unnecessary change * Update .github/workflows/test.yml Co-authored-by: yihuang <huang@crypto.com> * update .gitignore * update github actions * change evm denomination * change evm denomination * send tests to tests folder * Delete result * update go version Co-authored-by: yihuang <huang@crypto.com> Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
32 lines
481 B
Bash
Executable File
32 lines
481 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
CONFIG=$1
|
|
if [ -z "$CONFIG" ]; then
|
|
echo "No config file supplied"
|
|
exit 1
|
|
fi
|
|
shift
|
|
|
|
DOTENV=$1
|
|
if [ -z "$DOTENV" ]; then
|
|
echo "No dotenv file supplied"
|
|
exit 1
|
|
fi
|
|
shift
|
|
|
|
DATA=$1
|
|
if [ -z "$DATA" ]; then
|
|
echo "No data directory supplied"
|
|
exit 1
|
|
fi
|
|
shift
|
|
|
|
echo 'pystarport:'
|
|
echo ' config: '$CONFIG
|
|
echo ' dotenv: '$DOTENV
|
|
echo ' data: '$DATA
|
|
|
|
pystarport init --config $CONFIG --dotenv $DOTENV --data $DATA $@
|
|
supervisord -c $DATA/tasks.ini
|