InnerSourceCommons / archive.innersourcecommons.org

The old version of the ISC site
Creative Commons Attribution Share Alike 4.0 International
40 stars 29 forks source link

Feature gh#91 development environment setup with docker #99

Closed dellagustin closed 4 years ago

dellagustin commented 4 years ago

This commit enables the usage of Docker for setting up a development environment.

It is an implementation for

91

With this development, with the command docker-compose up or docker-compose -f docker-compose-toolbox.yml up (for Docker Toolbox), a docker image is built and a docker contain is run serving the webpage, that can be accessed on http://localhost:4000 (or http://<docker machine ip>:4000 for Docker Toolbox)

Files:

Known limitations:

Explanations:

Remarks:

Letf overs and follow ups:

References:

PS: I carried https://github.com/InnerSourceCommons/innersourcecommons.org/commit/f4edc9fd7c92006eaeba8c3cafe9758f8f58e4fe to this PR by mistake, but I imagine #98 will be approved before this one, so I will not undo that.

maxcapraro commented 4 years ago

Thanks a lot for contributing this work, @dellagustin! 🙏

I think I might not be able to review it within the next 24h - but anyway: I am really looking forward to playing around with your implementation and will happily provide review feedback asap :)

dellagustin commented 4 years ago

Hi @maxcapraro Did you have the chance to review this PR? If you need any help with the setup, please let me know.

maxcapraro commented 4 years ago

Thanks for your patience with this one :) I'll look into it today

dellagustin commented 4 years ago

Hi @maxcapraro , thanks for the review 👍 I answered your comments, there are some decisions to be made (solve now or accept and track technical debt). Can you take a look? The docu I can write and push a new commit.

maxcapraro commented 4 years ago

Thanks for the clarifications, @dellagustin! So far: looks good to me (except for the one comment re: documentation). Let's add that and then (if Jo and Cedrid haven't raised an opinion re: the two alternative docker files by then) let's merge :)

dellagustin commented 4 years ago

Hi @maxcapraro , I added documentation. I created a new section for testing the page edits locally. I think the build part is a bit confusing (i.e. general flow vs steps for ubuntu, no mention of the htmlproofer step), and as it is, I am not sure it adds much value, if the contributor is already using jekyll serve, but I did not want to change this for now.

maxcapraro commented 4 years ago

It's beautiful. Thank you @dellagustin!