Skip to content

Commit

Permalink
1.Removed -daemon goals 2. Recipe in README.md changed accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuryshev committed Mar 20, 2019
1 parent 8f0c463 commit 7ab9d1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,13 @@ docker-run: docker-clean docker-image docker-network docker-volume
docker run -it -v $(shell pwd)/node:/sky --network=${DOCKER_NETWORK} \
--name=${DOCKER_NODE} ${DOCKER_IMAGE} bash -c "cd /sky && ./skywire-node"

docker-run-daemon: docker-clean docker-image docker-network docker-volume
docker run -d -v $(shell pwd)/node:/sky --network=${DOCKER_NETWORK} \
--name=${DOCKER_NODE} ${DOCKER_IMAGE} bash -c "cd /sky && ./skywire-node"

docker-stop:
-docker container stop ${DOCKER_NODE}


# skywire-node on host
run: stop build
./skywire-node

run-daemon: stop build
./skywire-node &>/dev/null &

stop:
-bash -c "kill $$(ps aux |grep '[s]kywire-node' |awk '{print $$2}')"

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ Idea of test from Erlang classics: https://youtu.be/uKfKtXYLG78?t=120

```bash
# Setup: run skywire-nodes on host and in docker
$ make docker-run-daemon && make run-daemon
$ make run &>/dev/null &`
$ make docker-run &>/dev/null &
# Open in browser chat application
$ firefox http://$SW_NODE_B:8000 &
# add transport
Expand Down

0 comments on commit 7ab9d1a

Please sign in to comment.