forked from CounterpartyXCP/federatednode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
39 lines (25 loc) · 1005 Bytes
/
build.sh
File metadata and controls
39 lines (25 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# remove exited containers:
sudo docker ps --filter status=dead --filter status=exited -aq | xargs -r sudo docker rm -v
# remove unused images:
sudo docker images --no-trunc | grep '<none>' | awk '{ print $3 }' | xargs -r sudo docker rmi
# stragglers
sudo docker image prune -a
sudo docker container prune --filter "until=72h"
sudo docker volume prune
sudo docker network prune --filter "until=72h"
#spin up your docker images and run streamiot app
#sudo docker build --no-cache -t streamiot_mvp_1
docker-compose down --remove orphans
#
sudo ln -sf `pwd`/fednode.py /usr/local/bin/fednode
#start up streamiot fednode full master
fednode install full master
# start up the streamiot node
sudo docker-compose -f docker-compose.streamiot.yml up --build
# tail bitcoin-testnet
fednode tail bitcoin-testnet
# tail counterparty-testnet
fednode tail counterparty-testnet
# counterwallet server
# cd /streamchain-iot/fed_stream_node/src/counterwallet/
# sudo docker build -t streamiot_wallet .