diff options
| author | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-27 08:17:53 +0200 |
|---|---|---|
| committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-27 08:17:53 +0200 |
| commit | ae24f8d092563e6267b8f4291eb84f5b33e56dfc (patch) | |
| tree | cd8774667c5e789f109eaa25a132837702b2a754 | |
| parent | That pre-commit hook still needs some work I guess (diff) | |
| download | gopherproxy-ae24f8d092563e6267b8f4291eb84f5b33e56dfc.tar.gz gopherproxy-ae24f8d092563e6267b8f4291eb84f5b33e56dfc.tar.bz2 gopherproxy-ae24f8d092563e6267b8f4291eb84f5b33e56dfc.zip | |
Small fixes in the readme
| -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 | ``` |
