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 27, 2017 · 14 revisions

work in progress

To create a "clean slate" conference site:

  • clone last year's GitHub repo
  • delete the ".git" folder
  • 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", or "clockface" directories
  • reset all the toggles in _data/conf.yml to false
  • ...what else?

How to copy a GitHub wiki from one repository to another:

Each year, we should preserve workflow documentation by copying last year's wiki.

# 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.

Create a new Analytics property

Creating a new theme

Clone this wiki locally