acortell3 / archaeoriddle

CDAL collaborative ABM
2 stars 0 forks source link

Compiling the book #28

Closed acortell3 closed 8 months ago

acortell3 commented 8 months ago

Probably it's just me, but I'm struggling with this

bookdown::render_book(".",output_dir="/var/www/html/archaeoriddle/")

and if I am, there'll be more people once it is open, I'd believe?

ismaRP commented 8 months ago

Simon was able to render it in his computer. I think we probably need to give instructions for how to render it. And that should include install this as a package and then render it.

simoncarrignon commented 8 months ago

bookdown::render_book(".",output_dir="/var/www/html/archaeoriddle/") This mean you want to render in it folder apache is using by default to render website ; for general user to try it in local one could just remove 'output_dir' and render it in your local folder

acortell3 commented 8 months ago

Mmm... don't know... not working... we'll look at it together. The thing is, we would need to have this working right away, if possible? Wasn't before already compiled? It totally might be me that I'm behind because I had so many things going on before Christmas and couldn't keep up. Perhaps you guys already solved this!

simoncarrignon commented 8 months ago

Have you tried again @acortell3 ? i managed to compile it on my laptop (debian 12 , R 4.2.2 ) and office's desktop (Ubuntu 22.04, R 4.1.2). (more as a note to myself) We could also setup a github action to automatically compile it on github and deploy it on your github page account : sample of yaml file here https://medium.com/@delucmat/how-to-publish-bookdown-projects-with-github-actions-on-github-pages-6e6aecc7331e

ismaRP commented 8 months ago

It compiles for me too on ubuntu 20.04 and R 4.3.2 and also on R 4.2

simoncarrignon commented 8 months ago

@acortell3 I think we are good with that no? or do we really want someone to tyr with windows :'D

acortell3 commented 8 months ago

Yeah, we should be good. Screw windows! :-D Closing this