Github Pages "I just want to get on with it" edition
A few scripts to get your own Jekyll-and-Github-Pages-based website, right here, right now.
Bootstrapping
- Create a Github account
- Log in to Github
- Create a Github repository - tl;dr:
- a repository named
<username>.github.io
is hosted athttp(s)://<username>.github.io
- other repositories are hosted at
http(s)://<user>.github.io/<repository>
- a repository named
- save in your repository root:
- install docker
- run bootstrap script
./bootstrap-repository.sh user
if you named your repository<username>.github.io
./bootstrap-repository.sh project
otherwise
- docker-compose up
- visit http://localhost:4000
Note: These scripts have some hardcoded version numbers that will need to be adjusted whenever Github updates their dependency versions. Feel free to open an issue if you notice the change before I did.