Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
commands [2025/12/27 01:39] – created agnescommands [2025/12/29 01:49] (current) agnes
Line 1: Line 1:
 +{{tag>tech commands otwarchive}}
 +
 +===== Commands =====
 +
 +.
 +
 ===== OTWarchive ===== ===== OTWarchive =====
  
Line 38: Line 44:
     docker compose run web bundle exec rails c     docker compose run web bundle exec rails c
  
 +===== Development with Rails 8 =====
 +
 + This is a page that outlines all the commands I need for basic maintenance of and updates to my applications built on Ruby on Rails so I have them all in one easily copy-pastable space. 
 +
 +CREATE USER
 +  $ RAILS_ENV=production rails console
 +
 +  User.create!(email_address: "[email protected]", password: "password", password_confirmation: "password")
 +  
 +DEPLOY
 +
 +  $ git add .
 +  $ git commit -m "message"
 +  $ git push -u origin main
 +
 +  $ kamal deploy