Deploy this Ruby on Rails application easily with Northflank:
- Clone this repository
- Select this repository in Northflank when creating a new service
- Expose port 80 with the option Public HTTP
- Wait for the app to build and visit the newly assigned URL. That's it!
https://example--ruby-on-rails--examples--nort-kcwl.code.run
Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. Rails is a model–view–controller framework, providing default structures for a database, a web service, and web pages.
This example project was boostrapped using Rails version 6.1.1 running on Ruby version 3.0.0.
To follow this quick start, first install Ruby version 3.0.0.
-
Install Rails version 6.1.1.
gem install rails --version 6.1.1
-
Install packages.
Navigate into your new site’s directory and install gems with:
# Install using bundle: bundle install
-
Start developing.
Run the test server with rails:
rails server -p 80
The live development website should now appear at http://localhost