man ssh_config.
shared/public/images/ and you have added public/images to your shared directories, in your config file (deploy.php) or your recipe, it should be linked in on the next deployment. If that does not work I would put public/images directly into the current deployment . Then on the next deploymet it should copy the folder to the shared folder and link it into the deployment.
host('110.164.16.59', '110.164.16.34', '110.164.16.50', ...)
current directory, or is there a better way to do it?
current symlink pointer
DocumentRoot in you apache vhost config to poiont to path/to/project/current/app
Thank you, the first problem - iam using recipe for laravel, so i need change every tasts like this
task('artisan:migrate:rollback', function () {
$output = run('{{bin/php}} {{release_path}}/artisan migrate:rollback --force');
writeln('<info>' . $output . '</info>');
});
to {{bin/php}} {{release_path}}/app/artisanlooks like a need change release_path params, but i dont know how.
i am trying like this
set('release_path', '{{release_path}}/app');but nothing happens) only errors
Here is the first part of a task with an option called stage-initial-dbdump.
// Dump Database on dev or live and import it for the initial deployment.
desc('Setup database for new deploy. Will not create the database. Dumps, drops tables and imports database.');
task('initialdeploydatabasesetup', function () {
$default_stage_initial_dbdump = '{{default_stage_initial_dbdump}}';
if (input()->hasOption('stage-initial-dbdump')) {
$stage_initial_dbdump = input()->getOption('stage-initial-dbdump');
}In deploy.php I have:
// Default stage to get initial deploy database dump from.
set('default_stage_initial_dbdump', 'live');This sets the default but I can run the task and change to the dev environment with the following command:
dep initialdeploydatabasesetup --stage-initial-dbdump=devI hope that helps!