diff options
author | Prefetch | 2023-07-09 15:29:51 +0200 |
---|---|---|
committer | Prefetch | 2023-07-09 15:29:51 +0200 |
commit | 7530507686858f7b49a8be4fca4f5c55483e8b4f (patch) | |
tree | e1fe8109a04d2b5f6c0ab516a18fac1a5ccc8d1d | |
parent | e2f6ff4487606f4052b9c912b9faa2c8d8f1ca10 (diff) |
Add README.md with build instructions
-rw-r--r-- | README.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..75bb8fc --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +This is the code for generating my website (prefetch.eu) using Jekyll. + +To try it out, make sure you have `ruby`, `gem` and `bundler` installed. +I prefer to download the former two from my distro's package manager, +and then to use `gem` to install `bundler`; e.g. on Arch Linux run: + +```sh +$ sudo pacman -S ruby rubygems +$ gem install bundler +``` + +Then in this directory, run the following commands to get Jekyll and +all its extensions needed by this website as listed in the `Gemfile`: + +```sh +$ bundle config set --local path .bundle +$ bundle install +``` + +Now you should be able to run a local development version with: + +```sh +$ make serve +``` + +To build and deploy the release version, install `rsync` and run: + +```sh +$ make build +$ make compress +$ make deploy HOST=user@example.com PORT=22 +``` |