LFrobeen / ruby-on-rails-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Northflank Ruby on Rails Example

Northflank

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!

Live Demo

https://example--ruby-on-rails--examples--nort-kcwl.code.run

About Rails

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.

Quick start 🚀

To follow this quick start, first install Ruby version 3.0.0.

  1. Install Rails version 6.1.1.

    gem install rails --version 6.1.1
  2. Install packages.

    Navigate into your new site’s directory and install gems with:

    # Install using bundle:
    bundle install
  3. Start developing.

    Run the test server with rails:

    rails server -p 80

    The live development website should now appear at http://localhost

About


Languages

Language:Ruby 69.0%Language:HTML 17.2%Language:JavaScript 8.1%Language:Dockerfile 3.6%Language:CSS 1.7%Language:SCSS 0.4%