mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
docs: describe the requirements to get vuepress-plugin-imagemin compiling on alpine (#262)
For `vuepress-plugin-imagemin` there are several system packages required to properly compile it. It is now documented in the README.md. Switch from `bash` to `sh` highlighting.
This commit is contained in:
parent
10a35ba7c2
commit
cb9da8c967
14
README.md
14
README.md
@ -9,6 +9,12 @@ This package requires:
|
|||||||
- [nodejs](https://github.com/nodejs/node)
|
- [nodejs](https://github.com/nodejs/node)
|
||||||
- [npm](https://github.com/npm/cli)
|
- [npm](https://github.com/npm/cli)
|
||||||
|
|
||||||
|
On alpine you need to install the following software to get the `vuepress-plugin-imagemin` properly installed:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
apk add autoconf libtool automake build-base nasm libpng-dev
|
||||||
|
```
|
||||||
|
|
||||||
## Techstack
|
## Techstack
|
||||||
|
|
||||||
This package uses:
|
This package uses:
|
||||||
@ -25,7 +31,7 @@ How to use this package
|
|||||||
|
|
||||||
Build the static files of the website which then can be found under `docs/.vuepress/dist/`.
|
Build the static files of the website which then can be found under `docs/.vuepress/dist/`.
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -33,7 +39,7 @@ npm run build
|
|||||||
|
|
||||||
Bring up a development environment with hot reloading which can be reached [under](http://localhost:8080/)
|
Bring up a development environment with hot reloading which can be reached [under](http://localhost:8080/)
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -41,7 +47,7 @@ npm run dev
|
|||||||
|
|
||||||
Run the tests to ensure everything is working as expected
|
Run the tests to ensure everything is working as expected
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
npm test
|
npm test
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -51,7 +57,7 @@ You can use the webhook template `webhook.conf.template` and the `deploy.sh` scr
|
|||||||
|
|
||||||
For this to work follow these steps (using alpine):
|
For this to work follow these steps (using alpine):
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
apk add webhook
|
apk add webhook
|
||||||
cp .github/webhooks/hooks.json.template .github/webhooks/hooks.json
|
cp .github/webhooks/hooks.json.template .github/webhooks/hooks.json
|
||||||
vi .github/webhooks/hooks.json
|
vi .github/webhooks/hooks.json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user