Self-host Cap in under 1 minute

Richie
a year ago
Summary
In this video, I demonstrate how to self-host Cap using Railway. To get started, I navigate to Cap's GitHub page and click 'Deploy on Railway.' After signing into Railway, I click 'Deploy' again, and the platform automatically sets up a MinIO instance, a MySQL database, and the CapWeb Docker image. This process requires no environment variables and is handled automatically, taking just under 38 seconds to complete. Alternatively, you can directly deploy the Docker image to Vercel or other hosting providers, but you'll need to provide your own database and storage. Once deployed, you can grab the deployment URL and paste it into the Cap desktop app. To do this, I click into CapWeb, copy the URL, then go to the Cap desktop app, click 'Settings,' and replace the server URL with the new deployment URL.