openframeworks / ofSite

openFrameworks web site
http://openframeworks.cc
159 stars 578 forks source link

Make docker env for development, update dependencies [WIP] #795

Open smeyfroi opened 2 years ago

smeyfroi commented 2 years ago

The build instructions in current README fail due to dependency issues on up-to-date MacOS, Ubuntu and Alpine Linux.

This is a WIP attempt to provide an easy-to-install (and cross-platform) docker environment for development work.

To get the dependencies to work, I had to upgrade nikola (which dragged some plugins along with it).

I also had to tweak the call to markdown in the custom documentation plugin; markdown has changed one of its method signatures in the newer version I ended up at here. Which means this PR is not backwards-compat with legacy development environments.

Dependencies are unpinned at the moment, until it's proven to be working correctly.

At first glance it seems to work, but before taking it any further I want feedback in case this is a wrong direction.

artificiel commented 5 months ago

I'm trying this and my results:

so on the docker side it seems to work!

however, the "documentation" tab is empty (which is the area I'd like to look into)... and also, side-question but: something must be auto-integrating the doxygen from the source? I have a limited understanding of the components involved here so it's not evident where to start looking...!

image
smeyfroi commented 5 months ago

Oh that's quite promising @artificiel ! I did the smallest thing I could do, without understanding the nicola build system.

It might be interesting to have someone with a little more knowledge chime in at this point? The problem of the broken ofSite dev environment seems like it could possibly be fixed inside a stable docker container...

ofTheo commented 5 months ago

Thanks @smeyfroi ! I'm happy to merge this but might be good to make sure the instructions for running it all are clear. And do @artificiel 's notes need to be added?

Thanks again!

smeyfroi commented 5 months ago

Fab, leave it with me a while (life drawing tonight, so maybe weekend)... will clean up and make sure @artificiel comments properly taken into account. I think he had some questions related to the doc build itself: are you able to help with that @ofTheo ?

smeyfroi commented 4 months ago

Done:

To do:

Questions:

More to come on this PR.