This is the repository for my personal website. It is based on the academicpages.
Please do let me know if you find any bugs, mistakes or have any suggestions for improvement.
When you are initially working your website, it is very useful to be able to preview the changes locally before pushing them to GitHub. To work locally you will need to:
-
Clone the repository and made updates as detailed above.
-
Make sure you have ruby-dev, bundler, and nodejs installed
On most Linux distribution and Windows Subsystem Linux the command is:
sudo apt install ruby-dev ruby-bundler nodejs
On MacOS the commands are:
brew install ruby brew install node gem install bundler
-
Run
bundle install
to install ruby dependencies. If you get errors, delete Gemfile.lock and try again. -
Run
jekyll serve -l -H localhost
to generate the HTML and serve it fromlocalhost:4000
the local server will automatically rebuild and refresh the pages on change.
If you are running on Linux it may be necessary to install some additional dependencies prior to being able to run locally: sudo apt install build-essential gcc make