diff options
-rw-r--r-- | README.md | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -10,12 +10,14 @@ Demo: https://gopher.feuerfuchs.dev/ | |||
10 | 10 | ||
11 | ## Requirements | 11 | ## Requirements |
12 | 12 | ||
13 | - libvips: Fast on-demand thumbnail generation | 13 | - **libvips:** Fast on-demand thumbnail generation |
14 | 14 | ||
15 | 15 | ||
16 | ## Installation | 16 | ## Installation |
17 | 17 | ||
18 | $ go install git.feuerfuchs.dev/Feuerfuchs/gopherproxy/... | 18 | ```#!bash |
19 | $ go install git.feuerfuchs.dev/Feuerfuchs/gopherproxy/... | ||
20 | ``` | ||
19 | 21 | ||
20 | 22 | ||
21 | ## Usage | 23 | ## Usage |
@@ -49,12 +51,12 @@ Folder structure: | |||
49 | - **fonts:** Fonts that will be minified | 51 | - **fonts:** Fonts that will be minified |
50 | - **js:** TypeScript source files | 52 | - **js:** TypeScript source files |
51 | 53 | ||
52 | I recommend using a pre-commit hook that compiles all assets automatically: | 54 | I recommend using a git pre-commit hook that compiles all assets automatically: |
53 | 55 | ||
54 | ```#!bash | 56 | ```#!bash |
55 | #!/bin/sh | 57 | #!/bin/sh |
56 | 58 | ||
57 | exec make build | 59 | make build |
58 | git add -f assets | 60 | git add -f assets |
59 | exit 0 | 61 | exit 0 |
60 | ``` | 62 | ``` |