Skip to content

Commit fba676c

Browse files
committed
Add Docker Compose instructions
Useful for environments where dealing with Ruby versions is a nightmare
1 parent 393de61 commit fba676c

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ These instructions will get you a copy of the Quarkus.io website up and running
66

77
### Installation
88

9+
#### Using Docker
10+
11+
1. Install [Docker Desktop](https://docs.docker.com/install/).
12+
2. Fork the [project repository](https://github.com/quarkusio/quarkusio.github.io), then clone your fork.
13+
14+
git clone [email protected]:YOUR_USER_NAME/quarkusio.github.io.git
15+
16+
3. Change into the project directory:
17+
18+
cd quarkusio.github.io
19+
4. Run Docker Composer
20+
21+
docker-compose up
22+
23+
5. Now browse to http://localhost:4000
24+
#### Using a local Ruby environment
925
[Jekyll static site generator docs](https://jekyllrb.com/docs/).
1026

1127
1. Install a full [Ruby development environment](https://jekyllrb.com/docs/installation/). If you use `rvm`, run: `rvm use 2.7.1`.

docker-compose.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# no version needed since 2020
2+
3+
services:
4+
jekyll:
5+
image: bretfisher/jekyll-serve
6+
volumes:
7+
- .:/site
8+
ports:
9+
- '4000:4000'

0 commit comments

Comments
 (0)