muh website pedrobinotto.xyz
- Tailwind CSS (v3*);
- SQLite3;
- sqlc;
- templ;
- goose (database migrations);
- air (live reloading);
- make;
- go;
The sqlc
, templ
, goose
, and air
packages can be installed directly via Go (recommended):
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
go install github.com/a-h/templ/cmd/templ@latest
go install github.com/pressly/goose/v3/cmd/goose@latest
go install github.com/air-verse/air@latest
The TailwinCSS CLI (MUST be 3.X.X) tool can be installed via the Node Package Manager (ewwww) or as a standalone binary:
# v3.4.16 Latest v3 release as of writing
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.16/tailwindcss-linux-x64
chmod +x tailwindcss-linux-x64
mv tailwindcss-macos-arm64 /otp/tailwindcss # assuming /opt is in your $PATH
SQLite3 is available on most package managers and can also be downloaded as a binary, built from source, etc.:
# Debian/Ubuntu
sudo apt install sqlite3
Run it natively:
# Builds the binary (PROD)
make build
# Runs it with `air` (live reload) for development
make start
Run it in a container:
make docker-run
Both will run on port 8080 by default.
- Automate
sitemap.xml
generation on build; -
/blog/{X}
:- setup blogs repo + CI actions;
- fix DB indexing for files;