mirror of
https://github.com/luxfi/bundler.git
synced 2026-11-02 12:41:01 +00:00
* docker packaging * docker configuration for testing. * remove circleci
19 lines
305 B
Bash
Executable File
19 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
cd `dirname \`realpath $0\``
|
|
case $1 in
|
|
name)
|
|
echo "AA Reference Bundler/0.4.0"
|
|
;;
|
|
|
|
start)
|
|
docker-compose up -d
|
|
while ! [[ `curl 2>/dev/null -X POST http://localhost:3000/rpc` =~ error ]]; do sleep 1 ; done
|
|
;;
|
|
stop)
|
|
docker-compose down
|
|
;;
|
|
|
|
*)
|
|
echo "usage: $0 {start|stop}"
|
|
esac
|