The purpose of this project is to provide a simple jumping-off point for a Jekyll-based github.io site.
- git (a tutorial on installing git can be found here)
- Jekyll (optional; get it here
- Know how to access your terminal and some basics of using it (look here for an intro). Windows users may want to look into the Git Bash emulator (more info here, under the heading Install Git on Windows).
- Go to github.com to set yourself up an account if you don't have one already.
- Navigate to the template's GitHub page, github.com/cwlt/cwlt.github.io (you're probably already here!).
- On the upper right side of the page, click
Fork
. - The template repository will be copied to your GitHub account. A webpage for the new repository, now under your account, should open up.
- Click the
Settings
tab on your copy of the repository. - Change the repository name to
username.github.io
, replacingusername
with your username. - If you navigate to
https://www.username.github.io
, replacingusername
with your username, you should see a your own copy of the template site (perhaps after a few minutes).
- Navigate to your github.io's repository, Navigate to the template's GitHub page,
github.com/username/username.github.io
, replacingusername
with your username. - Use the
Clone or Download
button to clone the repository to your own computer to start customizing on it! - To customize the text displayed on the website, search the project for the text that you want to replace.
For example, if to change the title I would first search for "Your awesome title" in all project files.
I would find that text in
_config.yml
, replace it to read "My new title," commit_config.yml
, and then push that change to the origin. Note that files in the directory_site
, if you have it, should be ignored. These are temporary files generated by Jekyll when it builds your website. Making changes here won't cause the desired change to your site --- your updates to items in_site
will just be overwritten by Jekyll. - You can share your resume by replacing
resources/resume.pdf
with your own. - To add a new page, you will need to create a new Markdown file with the page's content and register it with the menu bar.
Use the about page's entry in
_data/menu.yml
andabout.md
as a guide. - After each change you make you will need to
git commit filename
the file that changed, replacingfilename
with the relative path to the file that changed, andgit push master origin
to deploy it online. - Want to change the overall look of your site? You can find info about customizing your Jekyll theme at jekyllrb.com.
- Want to preview changes to your site before you put it online?
If you have Jekyll installed, you can run
jekyll serve
on the terminal from the project directory. Then, copy and paste the server address that is reported into your browser to view a locally-hosted version of your site.
Matthew Andres Moreno
Spring 2017