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 cleanto clean up the directory (no need to run--force) - Run
bundle installto install ruby dependencies. If you get errors, delete Gemfile.lock and try again.
- Run
maketo clean and regenerate the site in_site - Run
make serveto continuously rebuild and serve at http://localhost:4000/ - Alternately
make watchto continuously rebuild without running a server, or justmaketo build once - If you are hosting the site from a non github server, just copy the contents of
_siteto that server after building. Alternately, you can overwrite themake deployrule in the Makefile to deploy to that server after rebuilding - Run
make cleanto delete the built site