mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Rename deploy-cluster-aws/bigchain dir to .../conf
This commit is contained in:
parent
a0bb61d1c7
commit
4c5e5db149
2
deploy-cluster-aws/fabfile.py
vendored
2
deploy-cluster-aws/fabfile.py
vendored
@ -87,7 +87,7 @@ def install_rethinkdb():
|
|||||||
# change fs to user
|
# change fs to user
|
||||||
sudo('chown -R rethinkdb:rethinkdb /data')
|
sudo('chown -R rethinkdb:rethinkdb /data')
|
||||||
# copy config file to target system
|
# copy config file to target system
|
||||||
put('bigchain/bigchaindb.conf',
|
put('conf/bigchaindb.conf',
|
||||||
'/etc/rethinkdb/instances.d/instance1.conf', mode=0600, use_sudo=True)
|
'/etc/rethinkdb/instances.d/instance1.conf', mode=0600, use_sudo=True)
|
||||||
# initialize data-dir
|
# initialize data-dir
|
||||||
sudo('rm -rf /data/*')
|
sudo('rm -rf /data/*')
|
||||||
|
@ -73,8 +73,8 @@ chmod +x add2known_hosts.sh
|
|||||||
./add2known_hosts.sh
|
./add2known_hosts.sh
|
||||||
|
|
||||||
# resetting the rethinkdb initfile and adding the nodes to join...
|
# resetting the rethinkdb initfile and adding the nodes to join...
|
||||||
cp bigchain/bigchaindb.conf.template bigchain/bigchaindb.conf
|
cp conf/bigchaindb.conf.template conf/bigchaindb.conf
|
||||||
cat add2dbconf >> bigchain/bigchaindb.conf
|
cat add2dbconf >> conf/bigchaindb.conf
|
||||||
|
|
||||||
# rollout base packages for installation of storage and bigchain
|
# rollout base packages for installation of storage and bigchain
|
||||||
fab install_base_software
|
fab install_base_software
|
||||||
@ -86,7 +86,7 @@ fab install_rethinkdb
|
|||||||
fab install_bigchain
|
fab install_bigchain
|
||||||
|
|
||||||
# generate genesisblock
|
# generate genesisblock
|
||||||
HORST=`tail -1 bigchain/bigchaindb.conf|cut -d: -f1|cut -d= -f2`
|
HORST=`tail -1 conf/bigchaindb.conf|cut -d: -f1|cut -d= -f2`
|
||||||
fab -H $HORST -f fab_prepare_chain.py init_bigchaindb
|
fab -H $HORST -f fab_prepare_chain.py init_bigchaindb
|
||||||
# initiate sharding
|
# initiate sharding
|
||||||
fab start_bigchain_nodes
|
fab start_bigchain_nodes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user