https://github.com/mfcovington/bis180l_web
Course Website for UC Davis BIS180L
https://github.com/mfcovington/bis180l_web
Last synced: over 1 year ago
JSON representation
Course Website for UC Davis BIS180L
- Host: GitHub
- URL: https://github.com/mfcovington/bis180l_web
- Owner: mfcovington
- Created: 2015-03-17T23:23:27.000Z (over 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-04-29T02:24:17.000Z (about 11 years ago)
- Last Synced: 2025-02-14T15:15:34.305Z (over 1 year ago)
- Language: HTML
- Size: 46 MB
- Stars: 0
- Watchers: 2
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BIS180L Website
Website for UC Davis class BIS180L
Based on the Jekyll theme [Hyde](http://hyde.getpoole.com/)
The live website is [http://jnmaloof.github.io/BIS180L_web/](http://jnmaloof.github.io/BIS180L_web/)
## Some formatting info
To have a markdown file converted it must have front matter.
### Regular page
For a regular page use the following front matter:
---
layout: page
title: YOUR TITLE HERE
---
Place the .md file in the root directory for the site. It will get added to the sidebar links.
### Lab markdown page
For a lab _markdown_ page use:
---
layout: lab
title: Instructions on installing and using the BIS180L virtual linux machine
hidden: true
tags:
- Linux
---
Save it in the `_posts` folder with a name that follows a format of `yyyy-mm-dd-title.md'. This will automatically get added to the list of lab pages
### Lab Rmarkdown page
For a lab _*R* markdown_ page things are a bit more complicated. Use the same front matter as for a regular lab markdown page, but save it in the `_rmd` folder. Then run jekyll_knit_BIS180L.R (found in `_rmd` directory), changing the paths as appropriate. This will automatically create the `.md` file and place it in the posts directory with appropriate links to image files. Non-R files that you want to include should be placed in the `images` directory. R images generated during knitting will be automatically places in the `figure` directory and inlcuded. __Important__: name your code chunks, especially those that generate figures!
### Post
For a post to be listed on the front page, use:
---
layout: post
title: Welcome to BIS180L
---
Save it in the '_posts' folder with a name that follows a format of `yyyy-mm-dd-title.md'. This will automatically get added to the front page.
## Setting up your computer to use jekyll
See https://github.com/github/pages-gem or https://help.github.com/articles/using-jekyll-with-pages/ . Bundler has been a bit strange for me, so the former approach may be better.
Once you have jekyll installed, type `jekyll serve` in the root directory and point your browser to http://localhost:4000
## Branching Scheme
* gh-pages: the published site
* develop: for making relatively minor changes to the site
* feature-XYZ: for adding labs, etc, that may take a longer time to complete.