Skip to content

Commit

Permalink
Merge pull request #103 from pbrucla/r2dev2/docker
Browse files Browse the repository at this point in the history
Add Docker setup
  • Loading branch information
Arc-blroth authored Jun 25, 2024
2 parents 54590ad + bba8989 commit 0b922cb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
JEKYLL_VERSION := 4.2.2
docker = docker

build:
${docker} run --rm --volume="${PWD}:/srv/jekyll" -it jekyll/jekyll:${JEKYLL_VERSION} jekyll build

serve:
${docker} run --rm --name pbrucla --volume="${PWD}:/srv/jekyll" -p 4000:4000 -it jekyll/jekyll:${JEKYLL_VERSION} jekyll serve --watch --drafts

.PHONY: build serve
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ This site is built using [Jekyll](https://jekyllrb.com/) and hosted on [GitHub P
git clone https://github.com/pbrucla/pbrucla.github.io.git
cd pbrucla.github.io
```
2. Install all _Prerequisites_ and follow the _Instructions_ at [https://jekyllrb.com/docs/](https://jekyllrb.com/docs/)
3. To build the site and make it available on a local server, run ```bundle exec jekyll serve``` and check out [http://localhost:4000](http://localhost:4000)
2. Install [Docker](https://www.docker.com/products/docker-desktop/)
3. Run `make serve` and check out [http://localhost:4000](http://localhost:4000)

## Contributing
1. Before making any changes, run `git pull` to ensure your local repository is up to date.
Expand All @@ -45,4 +45,4 @@ If you see any issues or have any questions, feel free to contact us or open a p
**Discord**: [https://discord.gg/j9dgf2q](https://discord.gg/j9dgf2q)

## Acknowledgments
This website would not have been possible without the many contributions from our members. Thank you to Benson Liu, Andrew Kuai, Joshua Zhu, Juliet Zhang, Jason An, Ronak Badhe, Konstantin Tzantchev, & Joshua Yin for their contributions to this website! Special thanks to Juliet Zhang for helping to put together the original design! For a full list of contributors, check out the [contributors page](https://github.com/pbrucla/pbrucla.github.io/graphs/contributors).
This website would not have been possible without the many contributions from our members. Thank you to Benson Liu, Andrew Kuai, Joshua Zhu, Juliet Zhang, Jason An, Ronak Badhe, Konstantin Tzantchev, & Joshua Yin for their contributions to this website! Special thanks to Juliet Zhang for helping to put together the original design! For a full list of contributors, check out the [contributors page](https://github.com/pbrucla/pbrucla.github.io/graphs/contributors).

0 comments on commit 0b922cb

Please sign in to comment.