Skip to content

Repository files navigation

The website for UCSB MAT 200C 2016: Geometric Computing for Virtual Environments

To view this site, go to wolftype.github.io/200c

This uses github's built-in support for jekyll, a static blog generator. To make one of your own such blogs you can follow the instructions here. Short hand is to:

  1. Make a new repo on github.com and clone it.

     git clone https://my-user-name/myrepo.git
     cd myrepo
    
  2. Make a branch called gh-pages

     git checkout -b gh-pages
    
  3. Install ruby and bundler

     sudo gem install bundler
    
  4. Make a Gemfile and add some stuff to it, namely:

     source 'https://rubygems.org'
     gem 'github-pages', group: :jekyll_plugins
    
  5. Install the github jekyll plugins

     bundle install
    
  6. Create new local jekyll site

     bundle exec jekyll new . --force
    
  7. Add line to `_config.yml' that reads

     baseurl: "/myrepo"
    
  8. Write posts to _posts folder, prepend href links with {{site.baseurl}}/

  9. To preview your blog locally on your computer at localhost:4000/myrepo:

     bundle exec jekyll serve
    
  10. Add, Commit, and Push changes

You can now view your static blog at my-user-name.github.io/myrepo. To add posts, add markdown (or html or optionally other with the right plug-in) files to the _posts folder with the name YEAR-MONTH-DAY-postname.md

Note you can also specify a folder in your master branch which github will use to publish to yourname.github.io/yourrepo. See this link for details.

For more info, see also jekyll's github documentation

About

Media Arts and Technology Course Repo

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages