-
Read about github pages.
-
Log in to GitHub. (If you do not have an account, you can quickly create one for free.) You must be logged in for the remaining steps to work.
-
Go to GitHub's importer. Do not fork this repository if you are creating your own course.
-
Paste the url of this repo as the old repository to clone: https://github.com/SchwartzLabURI/Bio181G.
-
Select the owner for your new repository. (This will probably be you, but may instead be an organization you belong to.)
-
Choose a name for your workshop website repository.
-
Make sure the repository is public.
-
Click "Begin Import". When the process is done, you will receive a message like "Importing complete! Your new repository myname/mycourse is ready." and you can go to the new repository by clicking on the name.
-
Go into your newly-created repository, which will be at
https://github.com/myname/mycourse
. For example, if your username isabc
, the repository's URL will behttps://github.com/abc/mycourse
. -
Clone the repository to your local computer.
-
Edit
_config.yml
to customize site-wide variables.
- Update the URLs appropriately -
baseurl
will be the name of your repository & url should be the username.github.io/repositoryname.
-
Update
index.md
with the basic info about your course. -
Create course contents in _posts/weeks and course info in _posts/info.
- File names need to start with a date and this date will determine the order.
- Posts must have a category ('contents' for weekly content and 'info' for general information).
- Push to the gh-pages branch of your github reposity:
git push origin gh-pages
.
This site was modified from http://p2pu.github.io/jekyll-course-template. The code is all released under the MIT license unless otherwise noted. By default the template is set up to publish the content you add under CC-BY-SA.