Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| commands [2025/12/27 01:39] – created agnes | commands [2025/12/29 01:49] (current) – agnes | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{tag> | ||
| + | |||
| + | ===== 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: | ||
| + | | ||
| + | DEPLOY | ||
| + | |||
| + | $ git add . | ||
| + | $ git commit -m " | ||
| + | $ git push -u origin main | ||
| + | |||
| + | $ kamal deploy | ||
