I believe this is a quick and easy question.

5 views
Skip to first unread message

Brendon Kozlowski

unread,
Feb 17, 2010, 12:36:41 PM2/17/10
to fredistrano-discuss
I can't seem to disable the simulation checkbox in the manual
exporting of my projects. I've set my $options array in the
deploy.php script as follows:

var $options = array(
'export' => array(),
'synchronize' => array(
'simulation' => false, //enable a simulation run
'runBeforeScript' => true, //enable custom script before
deployement
'backup' => false //enable backup functionality
),
'finalize' => array(
'renamePrdFile' => true, //enable renaming .prd.xxx files
'changeFileMode' => false, //enable updating file mode
'giveWriteMode' => false, //enable updating write mode on
directories defined in $writable (in this file)
'runAfterScript' => true //enable custom script at the end of the
deployement process
)
);

...but "simulation" doesn't seem to be a recognized parameter and I
can't find any documentation on how to disable it by default. Does
anyone know how this can be done, or does the code need to be modified
to handle this?

fred

unread,
Feb 17, 2010, 3:39:39 PM2/17/10
to fredistrano-discuss
Hi Brendon,
It is not possible to uncheck the simulation checkbox by default in
manual deployment mode.
But, if you don't need the simulation step I suggest you to use the
"fast deploy" mode.
For my part, I use manual deployment only when I want to use the
simulation step, otherwise I always use the fast deploy.

Brendon Kozlowski

unread,
Feb 18, 2010, 2:26:03 PM2/18/10
to fredistrano-discuss
I would except that I have split my site in to two separate
repositories (CakePHP project). One is the webroot folder, the other
is the app folder. Since I'd like to alert visitors that updates are
taking place, I need to run the first half of the webroot folder
project, then run all of the app folder push, and then complete the
webroot push.

Regardless, thank you for the clarification, Fred!

Reply all
Reply to author
Forward
0 new messages