Skip to content

rockcairn/rails-rc

Repository files navigation

README

Ruby version

brew install rbenv
rbenv install 3.3.4
rbenv global 3.3.4

update ~/.zshrc file with

export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init - zsh)"
ruby -v

Rails 8

gem install rails
rails -v # should show something like Rails 8.0.x

This project was created using the following script

rails new rails-rc -d postgresql

Project Concept

  • Content choices are from rockcairn.com
    • a reinvisioning of the rockcairn site as a Rails app
Home Page Peaks Page
Home Page Peaks Page

Database initialization

brew install postgresql
brew services start postgresql
  • for macos if you don't setup a user its just your macos user name without password

Database creation

bin/rails db:create

Database Migration and Seeding

bin/rails db:migrate
bin/rails db:seed

Run the Service

  • bin/rails server
  • or
  • bin/dev

Open Browser

Run the tests

  • bin/rails test

About

Ruby on Rails 8 concept of the rockcairn site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors