Installation

From an empty folder to the first passkey.

Terminal
git clone … checkin && cd checkin
composer install
cp .env.example .env            # then set CHECKIN_ADMIN_EMAIL / CHECKIN_ADMIN_PASSWORD
php artisan key:generate
php artisan passport:keys       # RSA key pair in storage/ (git-ignored)
php artisan migrate
php artisan db:seed             # first administrator + the local applications (non-production only)
npm install && npm run build
herd secure checkin             # https://checkin.test

Sign in at https://checkin.test/login, open Security and add a passkey (or a security key) and/or TOTP, then find Administration in the sidebar.

db:seed registers the local products of the family — Studio, Hackly, Boogle, IndieStats, Newsletter, Johnny — with fixed client ids and secrets for *.test, localhost and 127.0.0.1 callbacks (/auth/sso/checkin/callback and the package's /auth/checkin/callback), assigns them to the administrator with the role admin (everyone else gets the product's default role: dev in Studio, member in Boogle, base in IndieStats, editor in Newsletter), and prints the SSO_OIDC_* lines to paste in each product's .env — client id, secret and role map — with SSO_OIDC_ISSUER=https://checkin.test. Re-running the seeder is safe.