Skip to content

FilippoQuattrocchi/rails-blog

Repository files navigation

README

Postgres Rails TailwindCSS Yarn Ruby Docker

Ruby 3.3.4

Initial setup:

  1. docker compose build
  2. docker compose run web rails db:create
  3. docker compose run

Usefull comands

  • docker compose run
  • docker exec -it <name_docker> sh (for ssh)
  • rails console
  • article = Article.new(title: "Hello Rails", body: "I am on Rails!")
  • article.save
  • rails generate model Comment commenter:string body:text article:references
  • rails db:migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published