Created
November 11, 2017 12:49
-
-
Save vadbars/cb664df039b064b1a0e01f708577ea93 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##Deployment | |
| git clone --recurse-submodules https://github.com/GolosChain/golos.git | |
| cd golos && git checkout v0.16.4 | |
| docker run goloschain/golos:v0.16.4 | |
| Edit the Dockerfile in the repository root | |
| %s/BUILD_GOLOS_TESTNET=FALSE\C/BUILD_GOLOS_TESTNET=TRUE/g | |
| %s/ADD documentation/seednodes /etc/golosd/seednodes/\C/#ADD documentation/seednodes /etc/golosd/seednodes//g | |
| docker build -t goloschain/golos_testnet:0.16.4 . | |
| docker run goloschain/golos_testnet:0.16.4 | |
| docker run -p 8096:8090 -p 2004:2001 -e STEEMD_WITNESS_NAME="cyberfounder" -e STEEMD_EXTRA_OPTS="--enable-stale-production" -e STEEMD_MINER_NAME="cyberfounder" -e STEEMD_PRIVATE_KEY="5JVFFWRLwz6JoP9kguuRFfytToGU6cLgBVTL9t6NB3D3BQLbUBS" -e STEEMD_MINING_THREADS=4 -v testnet_chain_data:/var/lib/golosd -it goloschain/golos_testnet:0.16.4 | |
| docker exec -it $container_hash /bin/bash | |
| usr/local/bin/cli_wallet | |
| set_password 12345 | |
| unlock 12345 | |
| import_key 5JVFFWRLwz6JoP9kguuRFfytToGU6cLgBVTL9t6NB3D3BQLbUBS | |
| vote_for_witness cyberfounder cyberfounder true true | |
| update_witness "cyberfounder" " " GLS58g5rWYS3XFTuGDSxLVwiBiPLoAyCZgn6aB9Ueh8Hj5qwQA3r6 {"account_creation_fee":"3.000 GOLOS","maximum_block_size":131072,"sbd_interest_rate":1000} true | |
| publish_feed "cyberfounder" { "base":"0.999 GBG", "quote":"1.000 GOLOS"} true | |
| ##Development purposes | |
| apt-get install -y \ | |
| autoconf \ | |
| automake \ | |
| autotools-dev \ | |
| bsdmainutils \ | |
| build-essential \ | |
| cmake \ | |
| doxygen \ | |
| git \ | |
| libboost-all-dev \ | |
| libreadline-dev \ | |
| libssl-dev \ | |
| libtool \ | |
| ncurses-dev \ | |
| pbzip2 \ | |
| pkg-config \ | |
| python3 \ | |
| python3-dev \ | |
| python3-pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment