Ruby on Rails
An example Ruby on Rails app, deployed on UQBITZ.
Tested versions
- Rails 8.1
- Ruby 3.2
Managed database: PostgreSQL
How to publish
The same steps as in first steps, from the terminal:
uqbitz login Signs in to your account: opens the browser so you can authorize.
uqbitz sites create Creates the site. The CLI asks who edits the site, whether it has data and whether it has code, and shows the options with their monthly cost.
uqbitz link meu-site Picks the created project as the active project, which is needed when the repository in the folder does not point to a project. Replace meu-site with your site’s slug.
uqbitz deploy Deploys and follows the deploy until its final state.
uqbitz logs Shows the end of the latest deploy log, so you can check it.
Limitations
- The
release_commandis ignored in the microVM: the database migration must run in the start command. - The health check accepts any HTTP status: after publishing, open the site and check the page.
- The repository is linked in the browser, in the panel, per Project.