Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.27 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.27 KB

Rails from scratch

Rails from scratch

Run a local rails app with nothing but Nanobox.

Installation and Setup

  1. Clone this repo git clone https://github.com/nanobox-quickstarts/nanobox-rails.git
  2. Change into the directory cd nanobox-rails
  3. Add a local DNS record nanobox dns add local rails.local
  4. Create the database nanobox run rake db:create
  5. Run the app nanobox run rails s

Now you can visit your app at rails.dev:3000

Explore

With Nanobox, you don't have to have anything installed on your machine to run app specific commands. To open a nanobox console type nanobox run into your console and hit enter.

Now you can run commands like ruby -v and gem list to check the ruby version and see a list of installed gems respectively.

Now What?

For more details about running rails apps with nanobox visit guides.nanobox.io/ruby/rails/