ioos / notebooks_demos

Notebook demonstrations and examples
https://ioos.github.io/notebooks_demos/
MIT License
19 stars 19 forks source link

Trouble deploying site locally #403

Closed MathewBiddle closed 3 years ago

MathewBiddle commented 3 years ago

In trying to debug site functionality, I've been having trouble deploying it locally on my machine. (I'm not sure if this should be a ioos-jekyll-theme concern or something with this site specifically.) I have been able to deploy other ioos.github.io sites locally without any issue (specifically the ncei-archiving-cookbook. My troubles are listed below:

To note: the bundle exec command works just fine with the ncei-archiving-cookbook site, when I deploy that locally.

TLDR; Is there something different about this site where it doesn't follow the guidance documented here. Specifically building the site using bundler?

mwengren commented 3 years ago

@MathewBiddle Did you see any errors in the process logs? I tried updating the IOOS Catalog documentation site (which also uses ioos_jekyll_theme) and before running locally, I updated by local Jekyll environment - see: https://jekyllrb.com/docs/upgrading/.

Updating produced several deprecation warnings for some of the code inside the ioos_jekyll_theme module, which will probably require updating it to stay current - I'm thinking those issues could be contributing to errors in your local setup perhaps.

It's likely we'll need to look into updating the ioos_jekyll_theme regardless to keep it current.

ocefpaf commented 3 years ago

It's likely we'll need to look into updating the ioos_jekyll_theme regardless to keep it current.

I have to confess that I have been postponing this until #386 became a reality and we would not need to do it :grimacing: I tried updating the theme a while back and found out it was easier to re-do the theme then updating it. Jekyll is fast, flexible, and easy. But not really good for upgrades once you deploy it.

MathewBiddle commented 3 years ago

I think #386 is a reality now. Closing.