From a repository to a live address, in the dashboard. To do it from code instead, see Build a whole stack.
- Make your app deployable. It needs a Dockerfile, and it must listen on
$PORTand bind0.0.0.0. What a repo needs has examples. - Create an account at https://app.ridgelinehost.com/signup and confirm your email. A new sign-up may be reviewed first; you can go on as soon as it is approved. If someone invited you, accept from the dashboard. An owner or admin goes straight to step 6. A Dev's project is already there and someone else picks its repository, so go to step 8.
- Create your workspace. It holds your bill, your people and your projects.
- Set up billing on the Billing page. A workspace needs this before it can run services.
- Connect GitHub under Settings → GitHub, and choose the repositories to share.
- Create a project with the New project button on the workspace's Projects page.
- Add your app. On the project's Canvas: + New → GitHub Repository, then pick the repository and branch. It builds at once, and the Deploy tab shows the output.
- Add a database if it needs one: + New → Database. Every app in the
project gets
DATABASE_URLwithout any setup. - Put it online. Click the service, then Overview → Public address → Make public. A service starts private, reachable only from its project.
From now on every push to that branch deploys it, and a build that fails leaves the running version up.