Skip to content

Commit 2b49d86

Browse files
committed
docker support for dev testing
1 parent 76a6afa commit 2b49d86

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

Gemfile.lock

+7-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ GEM
5050
faraday-rack (1.0.0)
5151
faraday-retry (1.0.3)
5252
ffi (1.15.5)
53-
ffi (1.15.5-x64-mingw-ucrt)
53+
ffi (1.15.5-x64-unknown)
5454
forwardable-extended (2.6.0)
5555
gemoji (3.0.1)
5656
github-pages (223)
@@ -237,10 +237,12 @@ GEM
237237
jekyll-seo-tag (~> 2.1)
238238
minitest (5.15.0)
239239
multipart-post (2.1.1)
240-
nokogiri (1.13.1-x64-mingw-ucrt)
240+
nokogiri (1.13.1-x64-unknown)
241241
racc (~> 1.4)
242242
nokogiri (1.13.1-x86_64-darwin)
243243
racc (~> 1.4)
244+
nokogiri (1.13.1-x86_64-linux)
245+
racc (~> 1.4)
244246
octokit (4.22.0)
245247
faraday (>= 0.9)
246248
sawyer (~> 0.8.0, >= 0.5.3)
@@ -284,8 +286,9 @@ GEM
284286
zeitwerk (2.5.4)
285287

286288
PLATFORMS
287-
x64-mingw-ucrt
289+
x64-unknown
288290
x86_64-darwin-21
291+
x86_64-linux-musl
289292

290293
DEPENDENCIES
291294
github-pages (~> 223)
@@ -297,4 +300,4 @@ DEPENDENCIES
297300
webrick (~> 1.7)
298301

299302
BUNDLED WITH
300-
2.3.6
303+
2.3.5

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ Now you are free to add other pages to your tool folder as needed. The table of
7070

7171
## Local Development
7272

73-
If you want to develop the website with a local webserver running, theres a few prerequisites:
73+
### Using Docker
74+
Simply run `docker-compose up` in the directory and view the website at `http://0.0.0.0:4000`
75+
76+
### Local Machine
77+
If you want to develop the website on your local machine, theres a few prerequisites:
7478

7579
- Ruby `3.1.0`
7680
- Bundler `>2.3.3` (to install just `gem install bundler`)

docker-compose.yml

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

0 commit comments

Comments
 (0)