Skip to content

Commit 6ca2884

Browse files
authored
Merge pull request #605 from SISheogorath/feature/extentReadme
Extend docker section in README
2 parents dad5798 + 803a277 commit 6ca2884

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,26 @@ You can quickly setup a sample heroku hackmd application by clicking the button
7474
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
7575

7676
## HackMD by docker container
77+
[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/images/button.png)](http://play-with-docker.com?stack=https://github.com/hackmdio/docker-hackmd/raw/master/docker-compose.yml&stack_name=hackmd)
7778

78-
[docker-hackmd](https://github.com/hackmdio/docker-hackmd)
7979

80-
Before you go too far, here is the great docker repo for HackMD.
81-
With docker, you can deploy a server in minutes without any downtime.
80+
**Debian-based version:**
81+
82+
[![latest](https://images.microbadger.com/badges/version/hackmdio/hackmd.svg)](https://microbadger.com/images/hackmdio/hackmd "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/hackmdio/hackmd.svg)](https://microbadger.com/images/hackmdio/hackmd "Get your own image badge on microbadger.com")
83+
84+
85+
**Alpine-based version:**
86+
87+
[![latest-alpine](https://images.microbadger.com/badges/version/hackmdio/hackmd:latest-alpine.svg)](https://microbadger.com/images/hackmdio/hackmd:latest-alpine "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/hackmdio/hackmd:latest-alpine.svg)](https://microbadger.com/images/hackmdio/hackmd:latest-alpine "Get your own image badge on microbadger.com")
88+
89+
The easiest way to setup HackMD using docker are using the following three commands:
90+
91+
```console
92+
git clone https://github.com/hackmdio/docker-hackmd.git
93+
cd docker-hackmd
94+
docker-compose up
95+
```
96+
Read more about it in the [docker repository…](https://github.com/hackmdio/docker-hackmd)
8297

8398
# Upgrade
8499

0 commit comments

Comments
 (0)