Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| commandsrails [2025/11/09 22:54] – created agnes | commandsrails [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: | User.create!(email_address: | ||
| | | ||
| + | DEPLOY | ||
| + | |||
| + | $ git add . | ||
| + | $ git commit -m " | ||
| + | $ git push -u origin main | ||
| + | |||
| + | $ kamal deploy | ||
