Deploying

Basic deployment

Once your credentials are properly setup after the Getting Started section, it's time to deploy your project.

If it's your first time deploying on the server, call the rocketeer deploy command, it'll setup your server and deploy for the first time. Depending on what strategy you picked, it will either clone or rsync your project on the server.
You can choose to only deploy to specific servers or stages by using the relevant flags:

Parallel deployments

By default Rocketeer executes everything synchronously, but via the --parallel flag you can decide to deploy everything in parallel. An important note on what this means: it will not run tasks within a queue in parallel, the order of tasks in a queue is crucial and thus that order is kept. What it will run in parallel, is the various connections and/or stages.

Say you have the following task registered:

Rocketeer::task('some-task',['foo','bar']);

If you have 3 connections, each with 2 servers and 2 stages, Rocketeer will spawn 12 processes in parallel, each doing sequentially foo then bar on the matching connections/stages.