hospital/commandsrails.txt
2025-12-26 20:02:40 -05:00

14 lines
No EOL
447 B
Text

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@example.com", password: "password", password_confirmation: "password")
DEPLOY
$ git add .
$ git commit -m "message"
$ git push -u origin main
$ kamal deploy