Heavily customized version of smokesignal - https://whtwnd.com/kayrozen.com/3lpwe4ymowg2t
Localdev Playbook#
To run Smoke Signal in localdev (assuming vscode):
-
Create the localdev services https://tangled.sh/@smokesignal.events/localdev
-
Create a Smoke Signal dev container. Ensure it is connected to tailscale.
-
Run migrations
sqlx database reset -
Copy
.vscode/launch.example.jsonto.vscode.jsonand set the following environment variables:DNS_NAMESERVERSto100.100.100.100PLC_HOSTNAMEtoplc.internal.ts.net. Be sure to changeinternal.ts.netto whatever your Tailnet name is (i.e.sneaky-fox.ts.net)EXTERNAL_BASEtoplaceholder.tunn.dev. Be sure to change this to whatever tunnel service you're using.
-
Start your developer tunnel
tunnelto --subdomain placeholder --port 3100 --host localhost
At this point you can open up https://placeholder.tunn.dev/ and login with identities created with https://didadmin.internal.ts.net using the handle and password "password".