hleal18 / ruby-nf-example

Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Northflank Ruby on Rails template

Northflank

You can now clone your repository locally and start making changes. Push your changes to automatically build and deploy the updated application!

Learn more about using Northflank.

Authorizing hosts

This application has been configured to authorize hosts passed via the environment variable NF_HOSTS. You can change this, if necessary, by manually setting the environment variable or changing config.hosts in the Ruby environments in config/environments.

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 uses Rails version 7.0.4 running on Ruby version 3.1.2.

Quick start 🚀

To follow this quick start, first install Ruby version 3.1.2. You can also use rbenv or rvm to manage your Ruby installations (recommended).

  1. Install Rails version 7.0.4.

    gem install rails --version 7.0.4
  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 3000

    The live development website should now be available at http://localhost:3000

About

Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License.


Languages

Language:Ruby 75.1%Language:HTML 17.7%Language:Dockerfile 4.1%Language:CSS 2.3%Language:JavaScript 0.9%