Skip to content

Command Cheat Sheet

Quick-access commands for the Mobayilo development environment.


Run these in order to get the local server up with the correct assets:

  • Build Assets: pnpm build
  • Build CSS: bin/rails tailwindcss:build
  • Start Server (Port 3100): rails s -p 3100

Essential for testing external integrations locally.

  • Start Tunnel: ngrok http 3100
  • Listen for Webhooks: stripe listen --forward-to https://mobayilo.com/api/webhooks/stripe
  • Trigger Specific Event: stripe trigger checkout.session.completed

Managing our Railway environment and GitHub Actions.

  • Railway Status: railway status
  • Check CI Blocking (Main): gh run list --branch main --limit 20

  • Enhanced Status: git status-all
  • Clean Branch: git remote prune origin

  • Interactive Console: rails dbconsole or psql -d mobayilo_development
  • Reset Database: bin/rails db:drop db:create db:migrate
  • Seed Data: bin/rails db:seed

Note: If you find a new useful command, please add it here to help the rest of the team!