summaryrefslogtreecommitdiff
path: root/README.md
blob: 75bb8fc2316afac30eab7a513e4444c0b45b0df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
```