Skip to content

About

Sinatra on Ruby 3.4. Starter template for velixir.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Ruby starter

Deploy on velixir

Sinatra with a Procfile, which is all Ruby needs to go from source to a served request. bundle install runs server-side against your Gemfile.

Deploy it on velixir.

Running it locally

bundle install
bundle exec ruby app.rb

Then open http://localhost:8080.

Deploying

velixir deploy

The one rule

Bind $PORT on 0.0.0.0. Sinatra defaults to localhost, which the platform health check cannot reach from outside the container, so both app.rb and the Procfile set it explicitly.

Licence

MIT.

About

Sinatra on Ruby 3.4. Starter template for velixir.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages