You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Shopify's [tapioca](https://github.com/Shopify/tapioca) gem to manage all our rbi files. We **don't** use `bundle exec srb rbi ...`.
72
95
96
+
### Other useful docker commands
97
+
98
+
*`docker compose ps` - View running containers and their status
99
+
*`docker compose logs [-f] [service]` - View logs for all or a specific service, add `-f` to continue watching (the up command also does this)
100
+
*`docker compose restart web` - Restart the web container (eg when you make a change to the code)
101
+
*`docker compose down` - Stop and remove containers (keeps volumes and images intact for quick restart)
102
+
*`docker compose exec web bash` - Run a shell in the running container
103
+
*`docker compose run web bin/rails console` - Run a once-off command in new container
104
+
*`docker system prune --all` - Remove all stopped containers, orphaned images / networks, build cache etc. (Remove the -v if you want to keep your databases and gem cache)
105
+
73
106
## Deployment
74
107
75
108
The code is deployed using Capistrano. To deploy to production run:
0 commit comments