Setup Server for Deployment
Initialize the VPS (one-time, as root):
gon server:setup 142.93.174.86 \--alias=vps1 \--email=ssl@example.com \--ghcr-token=ghp_xxxxxInstalls Docker, creates deploy user, starts Traefik.
Add your project to the server:
gon server:add-project myapp \--host=vps1 \--domain=myapp.example.comCreates MySQL database, nginx vhost, SSL certificate, Docker config.
Optional — enable basic auth for staging:
gon server:auth myapp --enable
The server is now ready for gon deploy.