Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.38 KB

website.md

File metadata and controls

39 lines (33 loc) · 1.38 KB

Setting Up a CS10 Website

Background

Github Pages...

Step-By-Step

  1. Create a new repo under the CS10 organization as "fa15" 1.1 Go to new repo on GitHub and make sure CS10 is the owner. 1.2 Name it "fa15" (or whatever the semester name is.)
  2. Clone this folder git clone git@github.com:cs10/fa15.git
  3. Clone a copy of the previous CS10 site, like "su15"
  4. Copy the contents of the previous site to the new one. 4.1 (You don't need copy the git history)
  5. Before you add stuff, you should delete some old files.
    • 'lecture/*'
    • 'disc/*'
    • Make sure resources/ has a .git folder in it, or is empty.
  6. Create a branch gh-pages and all the contents to it. 5.1 git checkout -b gh-pages 5.2 git add . 5.3 git commit -am 'Initial Commit' 5.4 git push -u origin gh-pages
  7. Push to github
  8. Make sure the resources folder exists. 7.1 git submodule add git@github.com:cs10/resources.git 7.2 git add . 7.3 git commit -am 'Added Resources submodule' 7.4 Push to github (git push)
  9. You should new be able to see the site at cs10.org/fa15

Getting Jekyll

  1. See the (very basic) README in the folder of recent websites for some info.
  2. If you have Ruby installed, you should be able to do gem install bundler 2.1 If you want to, you can install rvm from rvm.io 2.2 Then install a new Ruby
  3. Once bundler is installed run bundle install