This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
[..] | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "/home/simone/workspace/local_bundles/DeployBundle" | |
} | |
], | |
[..] | |
"require": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simone@namazu:~/workspace/local_bundles/DeployBundle$ printf "\nMy new Line" >> README.md | |
simone@namazu:~/workspace/local_bundles/DeployBundle$ git add README.md | |
simone@namazu:~/workspace/local_bundles/DeployBundle$ git commit -m "Change on branch 'local'" | |
[local fc1aa1b] On branch 'local' | |
1 file changed, 2 insertions(+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simone@namazu:~/workspace/local_bundles/DeployBundle$ git checkout -b local | |
Switched to a new branch 'local' | |
simone@namazu:~/workspace/local_bundles/DeployBundle$ git branch | |
* local | |
master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simone@namazu:~/workspace/local_bundles$ git clone https://github.com/hpatoio/DeployBundle DeployBundle | |
Cloning into 'DeployBundle'... | |
[..] | |
simone@namazu:~/workspace/local_bundles$ cd DeployBundle/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"require": { | |
... | |
"hpatoio/deploy-bundle": "1.*" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set :stages, %w(staging prod) | |
set :default_stage, "staging" | |
require 'capistrano/ext/multistage' | |
namespace :demo_task do | |
desc <<-DESC | |
Demo task | |
DESC | |
task :task, :roles => :app do | |
capifony_pretty_print "--> Demo task #{foo_var}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simone@namazu:~/workspace/cms$ composer update hpatoio/deploy-bundle | |
Loading composer repositories with package information | |
Updating dependencies (including require-dev) | |
- Installing hpatoio/deploy-bundle (1.3) | |
Loading from cache | |
Writing lock file | |
Generating autoload files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simone@namazu:~/workspace/composer create-project symfony/framework-standard-edition sf23_demo/ 2.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acme\DemoBundle\DataFixtures\ORM; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Doctrine\Common\DataFixtures\FixtureInterface; | |
use Acme\DemoBundle\Entity\Team; | |
use Acme\DemoBundle\Entity\Player; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acme\DemoBundle\DataFixtures\ORM; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Doctrine\Common\DataFixtures\FixtureInterface; | |
use Acme\DemoBundle\Entity\Team; | |
use Acme\DemoBundle\Entity\Player; |