My personal website based on the academic pages website template. Please see that repository for more details on setup and configuration.
- If you want to host on github, fork repo and name it <your username>.github.io
- Clone the repository
- Make sure you have ruby-dev, bundler, and nodejs installed:
sudo apt install ruby-dev ruby-bundler nodejs
(on macgem install bundler
) - Run
bundle clean
to clean up the directory (no need to run--force
) - Run
bundle install
to install ruby dependencies. If you get errors, delete Gemfile.lock and try again.
- Run
make
to clean and regenerate the site in_site
- Run
make serve
to continuously rebuild and serve at http://localhost:4000/ - Alternately
make watch
to continuously rebuild without running a server, or justmake
to build once - If you are hosting the site from a non github server, just copy the contents of
_site
to that server after building. Alternately, you can overwrite themake deploy
rule in the Makefile to deploy to that server after rebuilding - Run
make clean
to delete the built site