Remove language spec from code fences

This commit is contained in:
Adam Harrison committed 2016-04-18 15:10:37 +01:00
1 parent 3a2452baf6
commit e1478eefd4
2 files changed
+10 -10

No files matched your search

+8 -8
View File
@@ -25,7 +25,7 @@ The weave git repository should be cloned into
`$GOPATH/src/github.com/weaveworks/weave`, in accordance with [the go
workspace conventions](https://golang.org/doc/code.html#Workspaces):
```bash
```
$ WEAVE=github.com/weaveworks/weave
$ git clone https://$WEAVE $GOPATH/src/$WEAVE
$ cd $GOPATH/src/$WEAVE
@@ -36,7 +36,7 @@ Next install Docker if you haven't already, by following the instructions
Then to actually build, simply do:
```bash
```
$ make
```
@@ -62,7 +62,7 @@ Vagrant to run VMs in.
First, check out the code:
```bash
```
$ git clone https://github.com/weaveworks/weave
$ cd weave
```
@@ -78,7 +78,7 @@ The `Vagrantfile` in the top directory constructs a VM that has
Once you are in the working directory you can issue
```bash
```
$ vagrant up
```
@@ -90,7 +90,7 @@ use git and so on in the regular filesystem.
To build and run the code, you need to use the VM. To log in and build
the weave image, do
```bash
```
$ vagrant ssh
vm$ cd src/github.com/weaveworks/weave
vm$ make
@@ -98,7 +98,7 @@ vm$ make
The Docker daemon is also running in this VM, so you can then do
```bash
```
vm$ sudo ./weave launch
vm$ sudo docker ps
```
@@ -108,7 +108,7 @@ and so on.
If you are looking to just do a build and not run anything on this VM,
you can do so with
```bash
```
$ vagrant ssh -c 'make -C src/github.com/weaveworks/weave'
```
@@ -116,7 +116,7 @@ you should then find a `weave.tar.gz` container snapshot tarball in the
top-level directory. You can use that snapshot with `docker load`
against a different host, e.g.
```bash
```
$ export DOCKER_HOST=tcp://<HOST:PORT>
$ docker load < weave.tar.gz
```
+2 -2
View File
@@ -14,7 +14,7 @@ it works across hosts.
WeaveDNS is deployed as an embedded service within the Weave router.
The service is automatically started when the router is launched:
```bash
```
host1$ weave launch
host1$ eval $(weave env)
```
@@ -26,7 +26,7 @@ running when they are started. They use it for name
resolution, and will register themselves if they either have a
hostname in the weaveDNS domain (`weave.local` by default) or are given an explicit container name:
```bash
```
host1$ docker run -dti --name=pingme ubuntu
host1$ docker run -ti --hostname=ubuntu.weave.local ubuntu
root@ubuntu:/# ping pingme