mairin / chris-website

ChRIS Project Website

Home Page:https://chrisproject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChRIS Status Updates Blog

This repo drives https://fnndsc.github.io/website/ & https://chrisproject.org/, which is meant to be the main upstream website for the ChRIS project.

If you would like to contribute a blog post to this repo:

  1. Write up your content in markdown: Go to the _posts folder and save your content markdown. You can do this straight in the github UI.
  2. Use the correct file naming format: Do note the post's name must start with a timestamp in the format YYYY-MM-DD- followed by a name for the post. If you use just the date, the template system won't recognize the post.
  3. Add YAML 'front matter' metadata to the top of the post: The YAML itself is pretty self-explanatory; here is an example you can copy/paste and modify for your post:
    ---
    layout: post
    title:  "30 Jan Status - Local file upload in web UI"
    author: mo
    image: "https://raw.githubusercontent.com/FNNDSC/status/master/assets/images/chris-file-select_30jan2020.png"
    ---

Other tips:

  • Featured Posts: If you like a post to be featured on the "Featured" section on the top of the page, insert featured:true in the YAML metadata at the top of your post's markdown file.
  • Hide from 'All Stories' list: hidden:true
  • Categories: categories: [ category1, category2] - the 'status' category will place it alongside our weekly status meeting posts.
  • Tags: tags: [tag1, tag2]
  • Table of Contents:
    beforetoc: "Markdown editor is a very powerful thing. In this article I'm going to show you what you can actually do with it, some tricks and tips while editing your post."
    toc: true

Website development

If you would like to set up a local copy of this website to test changes, etc. to it beyond adding posts:

If you're using Podman

git clone git@github.com:FNNDSC/website.git website-chrisproject
cd website-chrisproject
podman unshare chown 1000:1000 -R .; podman-compose up

To stop it, hit Ctrl+C and run

podman-compose down; chown $(id -u):$(id -g)

You can read more about why podman unshare and chown commands are needed here at [https://docs.podman.io/en/latest/markdown/podman-unshare.1.html].

If you're using Docker

git clone git@github.com:FNNDSC/website.git website-chrisproject
cd website-chrisproject
docker-compose up

Upstream Theme Info

We are using the Mediumish Jekyll theme developed by WOWthemes for this blog with some minor customizations. It is free under MIT license.

About

ChRIS Project Website

https://chrisproject.org

License:MIT License


Languages

Language:JavaScript 37.4%Language:HTML 36.5%Language:SCSS 15.2%Language:CSS 10.5%Language:Ruby 0.2%Language:Dockerfile 0.1%