Bash syntax highlighting
This commit is contained in:
parent
9ae748a80e
commit
8eac2b2508
11
README.md
11
README.md
@ -13,7 +13,7 @@ If you want to specify the version of NamelessMC you want, head to https://githu
|
||||
## # Automated Deployment
|
||||
You will need to install [Docker Compose](https://docs.docker.com/compose/) for automated deploying. If you don't have it installed, run the following:
|
||||
|
||||
```
|
||||
```bash
|
||||
$ curl -L "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||
$ chmod +x /usr/local/bin/docker-compose
|
||||
```
|
||||
@ -21,7 +21,8 @@ $ chmod +x /usr/local/bin/docker-compose
|
||||
> If you got a “Permission denied” error while running the commands above, add `sudo` at the beginning of each of them and run again. This will require sudo access.
|
||||
|
||||
When you're done, clone this repository and run! (`-d` means detach mode, e.g. run in background)
|
||||
```
|
||||
|
||||
```bash
|
||||
$ git clone https://github.com/NamelessMC/Nameless-Docker
|
||||
$ cd NamelessMC-docker
|
||||
$ docker-compose up -d
|
||||
@ -34,20 +35,20 @@ If you more like to run the containers by yourself or using them with other cont
|
||||
|
||||
First, clone the repository:
|
||||
|
||||
```
|
||||
```bash
|
||||
$ git clone https://github.com/NamelessMC/Nameless-Docker
|
||||
$ cd Nameless-Docker
|
||||
```
|
||||
|
||||
Next, build the image.
|
||||
|
||||
```
|
||||
```bash
|
||||
$ docker build -t namelessmc .
|
||||
```
|
||||
|
||||
If you want to specify the version:
|
||||
|
||||
```
|
||||
```bash
|
||||
$ docker build --build-arg NAMELESSMC_VERSION=1.0.16 -t namelessmc .
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user