To run sunshine locally:
cargo build --release
git clone https://github.com/sunshine-protocol/secrets
docker-compose up
target/release/sunshine-cli key set
cargo build --release
target/release/sunshine-node build-spec --chain staging > ./chains/staging.json
scp target/release/sunshine-node [email protected]:/sunshine/sunshine-node
scp chains/staging.json [email protected]:/sunshine/chain.json
ssh [email protected]
> systemctl stop sunshine
> rm -rf /sunshine/db
> systemctl start sunshine