candyapplecorn / hotrails_dev_tutorial

following this tutorial: https://www.hotrails.dev/turbo-rails/turbo-frames-and-turbo-streams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

I am following this tutorual: https://www.hotrails.dev/turbo-rails/turbo-rails-tutorial-introduction

Joe's Dev Notes

  • started with: rails new quote-editor --css=sass --javascript=esbuild --database=postgresql
  • Needed to use an older version of node to not have sass dart errors on rails new. Needed to first create an .nvmrc file echo 20 > .ncmrc before running the generator commands.
  • Needed to reinstall postgres. Went from v14 to the latest version: 16
  • needed to add gem executable dir to path and install foreman so bin/dev would actually work
  • needed to reinstall pg gem to pick up new postgres version
  • had to run bin/rails db:create
  • had some issues getting my IDE to recognize simple form
  • had to brew install foreman
  • added this shell script to automatically load nvm node version whenever I chdir

About

following this tutorial: https://www.hotrails.dev/turbo-rails/turbo-frames-and-turbo-streams


Languages

Language:Ruby 69.0%Language:HTML 14.0%Language:SCSS 11.9%Language:Dockerfile 3.3%Language:JavaScript 1.3%Language:Shell 0.6%