$ cd hp
$ pnpm install$ cd hp
$ pnpm run dev:css$ cd hp
$ pnpm run format$ cd hp
$ pnpm run lint$ cd hp
$ pnpm run test|
ℹ️
|
Ensure Playwright has been installed. |
Start a development server; in a new shell:
$ cd hp
$ pnpm run playwrightStart a development server; in a new shell:
$ cd hp
$ pnpm run playwright:traceStart a development server; in a new shell:
$ cd hp
$ pnpm run playwright:ui$ cd hp
$ pnpm run cert:ca:create
$ pnpm run cert:create|
❗
|
Ensure that you have modified your DNS settings to include |
$ cd httpd
$ scripts/docker_build.sh$ cd hp
$ pnpm run docker:httpd:start:with-build$ cd hp
$ pnpm run docker:httpd:start$ cd hp
$ pnpm run docker:httpd:stop- Deployed website
- GitHub Action Workflow
- GitHub Action Runs
|
❗
|
After initializing this repository, you need to configure the ignore-revs-file: $ git config set blame.ignoreRevsFile .git-blame-ignore-revs |
Add httpd.internal to your /etc/hosts:
/etc/hosts
127.0.0.1 localhost httpd.internal
::1 localhost httpd.internal|
ℹ️
|
If you want to change this entry, you need to also change: httpd/httpd.conf
httpd/httpd-ssl.conf
hp/scripts/docker_httpd_start.sh
readonly host_name='httpd.internal'hp/package.json
…
"scripts": {
…
"cert:copy": "scripts/copy_ca_based_cert.sh certs httpd.internal",
"cert:create": "scripts/create_ca_based_cert.sh certs 30 httpd.internal",
"cert:delete": "scripts/delete_ca_based_cert.sh certs httpd.internal",
"cert:renew": "scripts/renew_ca_based_cert.sh certs 30 httpd.internal",
"cert:verify": "scripts/verify_ca_based_cert.sh certs 30 httpd.internal",
…
},
… |
Install Docker.
Install pnpm.
$ cd hp
$ pnpm run cert:ca:create
$ pnpm run cert:create$ cd hp
$ pnpm run cert:copy|
❗
|
Ensure that you install version |
|
Warning
|
Unfortunately, homebrew provides |
$ curl -L https://github.com/OpenVPN/easy-rsa/releases/download/v3.1.7/EasyRSA-3.1.7.tgz -o ~/Downloads/easy-rsa.tgz
$ tar -xzf ~/Downloads/easy-rsa.tgz -C ~/.local/share
$ mv ~/.local/share/EasyRSA-3.1.7 ~/.local/share/easyrsa
$ ln -s ~/.local/share/easyrsa/easyrsa ~/.local/bin/easyrsa
$ rm ~/Downloads/easy-rsa.tgz$ cp hp
$ pnpm exec playwright install --with-deps --no-shell|
ℹ️
|
You can delete all downloaded binaries via: $ pnpm exec playwright uninstall --all |