This is the repository behind https://code-golf.io
- Install mkcert:
$ yay mkcert
- Install the local CA:
$ make cert
Using the local CA at "~/.local/share/mkcert" ✨
The local CA is now installed in the system trust store! ⚡️
The local CA is now installed in the Firefox and/or Chrome/Chromium trust store (requires browser restart)! 🦊
Created a new certificate valid for the following names 📜
- "localhost"
The certificate is at "./localhost.pem" and the key at "./localhost-key.pem" ✅
- Build the assets:
$ ./build-assets
- Build the languages:
$ ./build-langs
- Bring up the website:
$ make dev
- Navigate to https://localhost
- Run the unit tests:
$ go test ./...
- Run the e2e tests:
$ prove