Newer
Older
# Get local IP and set .env
ip_address=$(hostname -I | awk '{print $1}')
echo "ip_address=$ip_address" > .env
[[ $option == 'human' ]] && echo "isHumanReading=true" >> .env
## Start local Duniter node
cd integration_test/duniter
rm -rf data/chains
docker-compose up -d
cd ../..
# Start integration test
# Reset .env
echo "ip_address=127.0.0.1" > .env