This file contains hidden or 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
find /var/www/html -type d -exec chmod -R 775 {} \; | |
find /var/www/html -type f -exec chmod -R 664 {} \; |
This file contains hidden or 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
~/my_app_deploy]$ ls -al releases/20120925094501/ | |
total 0 | |
?--------- ? ? ? ? ? . | |
?--------- ? ? ? ? ? .. | |
?--------- ? ? ? ? ? .buildpath | |
?--------- ? ? ? ? ? build.xml | |
?--------- ? ? ? ? ? Capfile | |
?--------- ? ? ? ? ? composer.json | |
?--------- ? ? ? ? ? composer.lock | |
?--------- ? ? ? ? ? config |
This file contains hidden or 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
#testing | |
deployment: | |
user: my_user | |
from: ./ | |
to: /var/www/my_user/my_app_deploy | |
excludes: | |
- build | |
- tests | |
releases: | |
enabled: true |
This file contains hidden or 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
sudo setfacl -R -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs | |
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs |
This file contains hidden or 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
#!/bin/sh | |
curl -s https://getcomposer.org/installer | php | |
php composer.phar create-project isidromerayo/symfony2-jobeet | |
cd symfony2-jobeet |
This file contains hidden or 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
#!/bin/bash | |
# comands | |
ECHO=/bin/echo | |
DATE=/bin/date | |
DF=/bin/df | |
EXPORT=/usr/bin/mysqldump | |
#validate number params |
This file contains hidden or 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
#!/bin/bash | |
# comands | |
ECHO=/bin/echo | |
DATE=/bin/date | |
DF=/bin/df | |
EXPORT=/usr/bin/mysqldump | |
#validate number params |
This file contains hidden or 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
# https://github.com/github/gitignore | |
# build - files generate with tools for static PHP code analyses | |
build | |
## generic files to ignore | |
*~ | |
*.lock | |
*.DS_Store | |
*.swp |
This file contains hidden or 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
guard 'phpunit', :cli => '-c app/ ', :tests_path => 'src', | |
:keep_failed => true, :all_after_pass => true do | |
watch(%r{^src/Hcuv/(.+)Tests/.+Test\.php$}) { |m| "#{m[0]}" } | |
watch(%r{^src/Hcuv/(.+)/(.*)/(.+)\.php$}) { |m| "src/Hcuv/#{m[1]}/Tests/#{m[2]}/#{m[3]}Test.php" } | |
end |
This file contains hidden or 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
[Composer\Repository\InvalidRepositoryException] Some branches contained invalid data and were discarded, it is advised to review the log and fix any issues present in branches | |
Reading composer.json of isidromerayo/simple_php_skeleton (v0.6) | |
Importing tag v0.6 (0.6.0.0) | |
Reading composer.json of isidromerayo/simple_php_skeleton (v0.5) | |
Importing tag v0.5 (0.5.0.0) | |
Reading composer.json of isidromerayo/simple_php_skeleton (gh-pages) | |
Skipped branch gh-pages, no composer file | |
Reading composer.json of isidromerayo/simple_php_skeleton (master) | |
Importing branch master (dev-master) | |
Skipped branch master, Invalid package information: |