A node-Typescript application.
git clone https://github.com/ironoa/my-lottery.git
cd polkadot-watcher-csv-exporter
cp config/main.sample.yaml config/main.yaml
#just the fist time
yarn
yarn start
#or
#yarn start -c ./config/main.yaml
#or
#yarn simulate
git clone https://github.com/ironoa/my-lottery.git
cd my-lottery
#just the fist time
yarn
yarn test
cp config/main.sample.yaml config/main.yaml #if not present
docker build . -t my-lottery
#run
docker run my-lottery
#test
docker run --entrypoint /bin/sh my-lottery -c 'yarn test'