Quick Start
Quick Start Guide
Section titled “Quick Start Guide”Get your first Flutter app building and deploying in minutes. This guide walks you through the essential steps to get FlightStack running.
Prerequisites
Section titled “Prerequisites”Before you begin, make sure you have:
- A Flutter app in a GitHub repository
- A Mac, Linux, or Windows machine for running builds
- The FlightStack CLI installed
Setup Steps
Section titled “Setup Steps”-
Install the CLI
Section titled “Install the CLI”Terminal window # Using Homebrewbrew tap voostack/tapbrew install flightstack# Or download directlycurl -fsSL https://get.flightstack.dev | bashTerminal window curl -fsSL https://get.flightstack.dev | bashTerminal window # Using Scoopscoop bucket add voostack https://github.com/voostack/scoop-bucketscoop install flightstack# Or download from releases# https://github.com/voostack/flightstack/releases -
Log In
Section titled “Log In”Authenticate with your FlightStack account:
Terminal window flightstack loginThis opens a browser window to complete authentication. Once done, you’ll see:
✓ Logged in successfully!Welcome back, your-username -
Register a Build Agent
Section titled “Register a Build Agent”Register your machine as a build agent:
Terminal window flightstack agent registerThe CLI will detect your system capabilities:
System Information:Platform: macOSOS Version: macOS 14.0Xcode: 15.0Flutter: 3.16.0Dart: 3.2.0Capabilities:iOS: ✓Android: ✓Web: ✓✓ Agent registered successfully!Agent ID: abc123-def456-... -
Start the Agent
Section titled “Start the Agent”Start the agent to begin accepting builds:
Terminal window flightstack agent startOr install it to start automatically on boot:
Terminal window flightstack agent installYou should see:
FlightStack Build Agent────────────────────────────────────Agent: My-MacBook-ProAPI: https://api.flightstack.dev✓ Agent is onlineWaiting for builds... (Ctrl+C to stop) -
Create Your First Pipeline
Section titled “Create Your First Pipeline”Open the FlightStack app and:
- Navigate to Repositories
- Click Connect Repository and select your GitHub repo
- Go to the Pipelines tab
- Click Create Pipeline
In the visual editor:
- Drag a Trigger (e.g., “On Push”) to the canvas
- Drag a Build iOS job and connect it to the trigger
- Drag a Notification job to get notified when done
- Click Save
-
Push Some Code
Section titled “Push Some Code”Push a commit to trigger your first build:
Terminal window git commit --allow-empty -m "Trigger first FlightStack build"git pushWatch your build run in the FlightStack app! 🎉
What’s Next?
Section titled “What’s Next?”Now that you have a basic pipeline running, explore these topics:
Add Deployment
Section titled “Add Deployment”Set up automatic deployment to app stores:
Configure Code Signing
Section titled “Configure Code Signing”Learn how to set up automatic code signing:
Optimize Your Pipeline
Section titled “Optimize Your Pipeline”Make your builds faster and more reliable:
Run Agent on Boot
Section titled “Run Agent on Boot”Set up your agent to start automatically:
flightstack agent installSee Auto-Start on Boot for details.
Troubleshooting
Section titled “Troubleshooting”Agent not connecting?
Section titled “Agent not connecting?”- Check your internet connection
- Verify you’re logged in:
flightstack login - Check agent status:
flightstack agent status
Build failing?
Section titled “Build failing?”- Check the build logs in the FlightStack app
- Ensure Flutter is installed:
flutter doctor - Verify Xcode is set up (for iOS):
xcode-select -p
Need help?
Section titled “Need help?”- Join our Discord community
- Check the Troubleshooting Guide
- Open an issue on GitHub