Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

site management #42

Open
emiliom opened this issue Mar 6, 2020 · 19 comments
Open

site management #42

emiliom opened this issue Mar 6, 2020 · 19 comments

Comments

@emiliom
Copy link
Member

emiliom commented Mar 6, 2020

Accumulating some links / resources / comments to help me with the current state of the web site:

See also this old (but still relevant) issue, #14

Ask Filipe for help?!

From BioData-Training-Workshop

From GHW vector tutorial (software carpentry template)

@emiliom
Copy link
Member Author

emiliom commented Mar 6, 2020

From exchange with Amanda:

EM: https://github.com/oceanhackweek/oceanhackweek.github.io is obviously the main site, but it looks like https://github.com/oceanhackweek/jekyll-spectral-theme also has elements that need to be modified? There's no CI in place to build the Jekyll static pages, right?

Ditto for the wiki site. I see https://github.com/oceanhackweek/wiki and https://github.com/oceanhackweek/jekyll-hackweek-wiki, though the latter didn't get anything but one trivial update in 2019, so I assume it's not something we used last year?

AT: yes it’s very convoluted. Don had set it up before. You will need to first update the submodule, which is where all the posts/info are oceanhackweek/jekyll-spectral-theme, then commit and push and then commit and push oceanhackweek/oceanhackweek.github.io

It might be easier for me to do the website updates if you want, otherwise we might need to overhaul the whole thing. It’s extremely convoluted.

@leewujung
Copy link
Member

I highly recommend an overhaul to the website. It is too difficult to maintain at the moment and not keeping up with jekyll theme updates either.

@emiliom
Copy link
Member Author

emiliom commented Mar 6, 2020

Thanks for chiming in @leewujung. Anyone in mind who could do this quickly? @amanda-tan? I was planning to contact Filipe with help to incrementally fix the site and guide us, but unless we get lucky and he has time right now, it's a wild card.

Are the other HackWeek sites that use the same theme (GHW, WHW) also in the same convoluted state??

@emiliom
Copy link
Member Author

emiliom commented Mar 6, 2020

Looking at the GHW and WHW repos, I see that -- unlike OHW -- they don't rely on a theme submodule. Looks like what we need is to move from using a submodule to a baked-in theme

@emiliom
Copy link
Member Author

emiliom commented Mar 6, 2020

@ocefpaf has volunteered to help us. Thanks!!!

@ocefpaf
Copy link
Member

ocefpaf commented Mar 7, 2020

There's no CI in place to build the Jekyll static pages, right?

@emiliom that is correct. GH builds jekyll site "for free."

Looking at the GHW and WHW repos, I see that -- unlike OHW -- they don't rely on a theme submodule. Looks like what we need is to move from using a submodule to a baked-in theme

I agree. The question is:

  • do you want to start fresh based on GHW and WHW or you want to pull the submodules, update, and "bake" the theme in the site?

@emiliom
Copy link
Member Author

emiliom commented Mar 7, 2020

@emiliom that is correct. GH builds jekyll site "for free."

Thanks for confirming. I realized this later. But I was also expecting to see a gh-pages branch; I forgot a gh-pages branch is no longer required.

The question is: do you want to start fresh based on GHW and WHW or you want to pull the submodules, update, and "bake" the theme in the site?

What do you recommend? Priorities that come to mind are ease of transition, maintainability, and minimizing potential problems down the road. Your PR #44 would bake the theme in, which seems fine to me even if we change course later.

@emiliom
Copy link
Member Author

emiliom commented Mar 7, 2020

Alright, we're in business! I made a very small change (just to the config file), to update the year and date of the event, and the site updated as expected.

Thanks again, @ocefpaf!!! It looks like we're good to go for now, for updating content in a reasonably efficient way. But if you have any suggestions for further cleanups or overhauls that would make things better, I'm all ears! Or just submit a PR 😃

I'm leaving this issue open for now, to add documentation about updating the content, and in case new issues pop up.

@emiliom
Copy link
Member Author

emiliom commented Mar 7, 2020

Jekyll Spectral theme, http://jekyllthemes.org/themes/spectral/

Location of main content documents

There might be more; these are the ones I'm certain about.

Prior OHW content - 2018

@emiliom
Copy link
Member Author

emiliom commented Mar 8, 2020

Testing locally with Jekyll

Instructions from @ocefpaf:

One can install jekyll locally with:

conda create --name JEKYLL rb-bundler compilers
conda activate JEKYLL
bundle install

and then type:

bundle exec jekyll serve

to build and serve the site at http://127.0.0.1:4000/.

@emiliom
Copy link
Member Author

emiliom commented Mar 19, 2020

I've created a document with instruction for editing the content of the web site (_InstructionSiteUpdates.md). It's largely taken from my last two comments on this issue, with small tweaks for readability.

@emiliom
Copy link
Member Author

emiliom commented Mar 19, 2020

@ocefpaf is there an easy way to have a dev version of the repo that gets auto-rendered just like the master branch? By easy I mean something like a dedicated branch. That'd be very convenient for proposing a change and have others review it w/o asking everyone to clone it and run jekyll.

@ocefpaf
Copy link
Member

ocefpaf commented Mar 19, 2020

@ocefpaf is there an easy way to have a dev version of the repo that gets auto-rendered just like the master branch? By easy I mean something like a dedicated branch. That'd be very convenient for proposing a change and have others review it w/o asking everyone to clone it and run jekyll.

One of those GH actions was supposed to do exactly that. If I cannot make it work I'll create a "dev" version of the page that we can publish.

@emiliom
Copy link
Member Author

emiliom commented Mar 19, 2020

I thought I remembered you referring to that. But yes, I know GH actions are not an option right now. Thanks.

@ocefpaf
Copy link
Member

ocefpaf commented Mar 19, 2020

I thought I remembered you referring to that. But yes, I know GH actions are not an option right now. Thanks.

The alternative is as laborious as trying to fix the GH action, so I'm investing the my time on the latter first. If I failed I'll get back to the former.

@emiliom
Copy link
Member Author

emiliom commented Mar 19, 2020

The alternative is as laborious as trying to fix the GH action, so I'm investing the my time on the latter first. If I failed I'll get back to the former.

Ah. Feel free to tell me if either option is too much work. I can think of a limited, poor man's option, at least for me: pushing my locally built jekyll files to a good-old web site for others to view. It's very easy, but only works for me showing my proposed changes to others.

@emiliom
Copy link
Member Author

emiliom commented Mar 19, 2020

@leewujung and @amanda-tan : Can we delete all old branches, to clean things up? The only exception being ohw19archive, which I created in order to preserve the ohw19 web site content before we updated the site to 2020.

I'm assuming there is nothing of value in those old branches, but wanted to check with you before proceeding. The most recent update in the old branches was 7 months ago.

@leewujung
Copy link
Member

Sounds good to me 🙂

@emiliom
Copy link
Member Author

emiliom commented Mar 20, 2020

Thanks @leewujung. Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants