Skip to content

Instantly share code, notes, and snippets.

@yann120
Created January 17, 2024 14:31
Show Gist options
  • Save yann120/8f02407b7b8678245081a152f55f3d06 to your computer and use it in GitHub Desktop.
Save yann120/8f02407b7b8678245081a152f55f3d06 to your computer and use it in GitHub Desktop.
terminals.json file to automatically start your commands on start of your workflow
{
"autorun": true,
"autokill": true,
"terminals": [{
"name": "Server",
"description": "Rails Server",
"open": true,
"focus": true,
"commands": ["bundle install", "rails db:migrate", "rails server"]
}, {
"name": "Ngrok",
"description": "Ngrok",
"open": true,
"focus": false,
"commands": ["ngrok http --domain=$NGROK_URL 3000"]
}, {
"name": "Rails Console",
"description": "Rails Console",
"open": true,
"focus": false,
"commands": ["cd somewhere", "rails c"]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment