oSoc18 / website

Website for open Summer of code 2018
https://2018.osoc.be/
GNU General Public License v2.0
2 stars 7 forks source link

Move osoc blog somewhere simple #30

Open mietcls opened 6 years ago

mietcls commented 6 years ago

The current blog is hosted on WordPress. People have referred to it as being a bit unsafe, and not easy to maintain. Suggestions were to move it to a regular markdown site or something else that's easy to maintain with git.

This would mean setting it up and making sure all the links remain the same.

mietcls commented 6 years ago

@jbelien you mentioned you have done this before? What would be your suggestions? @jeborsel what were your arguments? I'm also going to ping Astrid for her communication expertise once she has accepted to join the osoc repo.

mietcls commented 6 years ago

I like the idea of simple markdown site;

On one condition; no compiling stuff or complicated things to run. Just plain html.. If possible.

jbelien commented 6 years ago

Yes, I already switched several website from WordPress to Jekyll (https://jekyllrb.com/).

And I really think it's the best option today :

Design style, it's rather "easy" :

And then we have to migrate all the existing post to Markdown ; it's rather easy but it's work. We can share that work though and I definitely will help to migrate the articles :)

jbelien commented 6 years ago

I forgot to mention that the blog can (should ?) be included inside oSoc website. Since we fork the previous website anyway, the old articles will just follow next year :)

mietcls commented 6 years ago

@jbelien I've worked with jekyll in the past and I remember having to run things — but maybe it's changed?

I think it should be included in the Osoc website (any other opinions?) Would you like to set it up @jbelien ? I've had a huge fight with jekyll before and we aren't friends again yet..

jbelien commented 6 years ago

I don't mind helping setting it up of course :)

And sorry, I thought the new oSoc website is using Jekyll ... but apparently not 😝 If we use GitHub pages to host the "blog" (and why not the website) we don't need to set up anything ; just enjoy the GitHub magic 😄

And since the website don't current use Jekyll but because Jekyll can also serve HTML static pages, I think we can use the actual structure as is (with maybe some small tweaks) and just add the "blog".

I'll put that on my todo list ASAP. I'll fork this repo and try to host everything (including some blogposts) on GitHub pages and then we will be able to assess if it worth it or not.

jbelien commented 6 years ago

And voilà : https://jbelien.github.io/website-oSoc/blog.html

I obviously didn't focus on the layout/design (wouldn't make a lot of sense 😝). I copied 2 articles (only the text so far) but it would be the same for all other articles of course. It's just to show you how the structure works.

If you have a look at https://github.com/jbelien/website-oSoc, you'll see :

EDIT : Even though GitHub Pages/Jekyll doesn't have any it to serve HTML pages. If we decide to switch to that solution, I would like to "clean" the HTML code and use Jekyll power such as includes for instance. I already prepared and used the _layouts\defaut.html for the blog.html page.

What do you think about it ? Do you have any question ?


PS : I also discovered that there is WordPress migration plugin for Jekyll : https://import.jekyllrb.com/docs/wordpress/. I never used it but that should ease the migration.

mietcls commented 6 years ago

That looks great! How would you keep the URL's the same btw? So we don't lose links? Let's talk about it on Thursday.

jbelien commented 6 years ago

How would you keep the URL's the same btw? So we don't lose links?

Not an issue at all. As you can see http://open.summerofcode.be/2018/07/25/use-bike-brussels-route-planner-instead-google-maps/ is now https://jbelien.github.io/website-oSoc/2018/07/25/use-bike-brussels-route-planner-instead-google-maps.html but we can remove the .html at the end by setting _config.yml up.

jbelien commented 5 years ago

@MichielLeyman :

Ismaila is interning at OKBE and just finished making the current version in React, with the idea of now building functionality on top (forms on the website itself, student “portal”, …)

So I deleted my jbelien/website-oSoc repo.