1
0
mirror of https://github.com/c9fe/22120.git synced 2024-11-04 10:02:42 +01:00
22120/scripts/postinstall.sh

11 lines
303 B
Bash
Raw Normal View History

2023-01-14 19:07:52 +01:00
#!/usr/bin/env bash
which brew || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
which mkcert || brew install mkcert
mkdir -p $HOME/local-sslcerts
cd $HOME/local-sslcerts
mkcert -key-file privkey.pem -cert-file fullchain.pem localhost
mkcert -install