Differences

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

Link to this comparison view

Next revision
Previous revision
commandsrails [2025/11/09 22:54] – created agnescommandsrails [2025/11/09 22:56] (current) agnes
Line 1: Line 1:
 + 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 CREATE USER
   $ RAILS_ENV=production rails console   $ RAILS_ENV=production rails console
Line 4: Line 6:
   User.create!(email_address: "[email protected]", password: "password", password_confirmation: "password")   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