Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Clean Slate

Luke Aeschleman edited this page Apr 28, 2017 · 14 revisions

work in progress

Creating a Clean Slate

  1. clone last year's GitHub repo
  2. delete the ".git" folder

Clean _data directory

Keep

  • examples dir, contains the templates for future files

Edit

  • conf.yml, the sites configuration file
    1. Remove all of the old urls and links
    2. turn all toggles to false
  • past-keynotes.yml
    1. Copy the keynote speaker information from the speakers.yml file into this file
    2. Add their year
    3. Move their images from /assets/img/speakers to /assets/img/past-keynotes/
    4. Update their image-src
    5. Make sure they have a post entry in the /_posts/keynotes dir

Example Frontmatter for the past-keynote posts:

layout: presentation
title: 'CODE FOR LIBERATION'
speaker: kate-krauss
slides: http://2016.code4lib.org/slides/Kate_Krauss_Code4Lib_Keynote.pptx
categories: past-keynote

Remove

  • day*_menu.yml
  • dinner.yml
  • duty_officers*.yml
  • locations.yml
  • *-proposals.yml files
  • scheduke
  • speakers.yml
  • sponsors.yml

Delete unneeded media files

  • these often live in assets/img, for instance past year's speakers images
  • do not delete the past-keynotes images, "nopics", "badges", "clockface" or "persistent" directories

Remove all the presentations and workshops

  • Just remove all the html files from _posts
  • do not remove the "keynotes" dir

Comment out or delete content from html file

Excluding "assets" and any "_*" dirs,work through all of the other directories and files. Either comment out or remove any information that is no longer valid.

Create a new Google Analytics property & add new web committee members

Commit to the new conf site's repo

Migrate last year's GitHub wiki from one repository to another

# clone the 2 wikis
git clone https://github.com/2017.code4lib.org.wiki.git
git clone https://github.com/2018.code4lib.org.wiki.git
# copy last year into this year, overwriting whatever exists
cp 2017.code4lib.org.wiki/* 2018.code4lib.org.wiki
# add changes & push to github
cd 2018.code4lib.org.wiki
git add .
git commit -m 'copy wiki from last year'
git push

Note that a lot of the internal links within the wiki (e.g. in the _Sidebar.md menu) will still reference the last year's URL and so will need to be updated. A search-and-replace of the old year for the new should do it.

Clone this wiki locally