A simple and clean Jekyll theme for academics.
I follow the instructions shown on the orginal site and add here some more steps to follow.
-
Install Command Line Tools
Open Terminal. Check to see if you have XCode Command Line Tools installed by typing gcc -v. At this point, it will prompt you to install if you don't. Or run this code to install:$ xcode-select --install
-
Install Ruby
Ruby should come pre-installed on all OSX computers. You can check if Ruby is installed by running ruby -v. It should return with Ruby version 2.0.0 or higher. ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]. If for some reason you're running a lower version, you can update.$ sudo gem install ruby
-
Install Bundler and Jekyll
Bundler is a package manager that will aid you in installing all the Jekyll dependencies.$ sudo gem install bundler jekyll
-
Fork the theme
Fork fromgithub.com:alshedivat/al-folio
togithub.com:<your-username>/<your-repo-name>
(get an instruction here) and do the following:$ git clone [email protected]:<your-username>/<your-repo-name>.git $ cd <your-repo-name> $ bundle install $ bundle exec jekyll serve
For example, you can type:
$ git clone [email protected]:yongwanlim/yongwanlim.github.io.git $ cd yongwanlim.github.io $ bundle install $ bundle exec jekyll serve
-
Now, feel free to customize the theme however you like (don't forget to change the name!). After you are done, commit your final changes.
$ git remote -v $ git status $ git add . $ git commit -m “initial commit”
-
Modify your
_config.yml
Note: when deploying your user or organization page, make sure the_config.yml
hasurl
andbaseurl
fields as follows.url: # should be empty baseurl: # should be empty
-
Deploy your website to GitHub Pages by running the deploy script:
$ ./bin/deploy --user
al-folio said:
By default, the script uses the
master
branch for the source code and deploys the webpage togh-pages
. The optional flag--user
tells it to deploy tomaster
and usesource
for the source code instead. Usingmaster
for deployment is a convention for user and organization pages. -
Now, you are all set. Visit
https://<your-username>/<your-repo-name>
. For example, here my webpage address is https://yongwanlim.github.io/.
https://github.com/alshedivat/al-folio
https://www.taniarascia.com/make-a-static-website-with-jekyll/
https://jekyllrb.com/docs/installation/macos/
The theme is available as open source under the terms of the MIT License.