bsr
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
60 changed files
with
33 additions
and
2 deletions
| 1 | php_value upload_max_filesize 10000M | ||
| 2 | php_value post_max_size 10000M | ||
| 3 | php_value max_execution_time 300 | ||
| 4 | php_value max_input_time 300 | ||
| 1 | 5 | ||
| 2 | # BEGIN WordPress | 6 | # BEGIN WordPress |
| 3 | # The directives (lines) between "BEGIN WordPress" and "END WordPress" are | 7 | # The directives (lines) between "BEGIN WordPress" and "END WordPress" are | ... | ... |
| ... | @@ -52,6 +52,16 @@ end | ... | @@ -52,6 +52,16 @@ end |
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | namespace :deploy do | ||
| 56 | desc 'Install composer packages in root' | ||
| 57 | task :install_packages do | ||
| 58 | on roles(:web), in: :sequence, wait: 5 do | ||
| 59 | execute "cd '#{release_path}'; /usr/bin/php73 /home/tenzing_www/composer.phar install --no-dev --prefer-dist --no-interaction --quiet --optimize-autoloader" | ||
| 60 | end | ||
| 61 | end | ||
| 62 | end | ||
| 63 | |||
| 64 | |||
| 55 | # Override `git#create_release` to handle submodules | 65 | # Override `git#create_release` to handle submodules |
| 56 | namespace :git do | 66 | namespace :git do |
| 57 | desc 'Copy repo to releases' | 67 | desc 'Copy repo to releases' |
| ... | @@ -117,7 +127,7 @@ end | ... | @@ -117,7 +127,7 @@ end |
| 117 | # Note that you need to have WP-CLI installed on your server | 127 | # Note that you need to have WP-CLI installed on your server |
| 118 | # Uncomment the following line to run it on deploys if needed | 128 | # Uncomment the following line to run it on deploys if needed |
| 119 | # after 'deploy:publishing', 'deploy:update_option_paths' | 129 | # after 'deploy:publishing', 'deploy:update_option_paths' |
| 120 | 130 | after 'deploy:updated', 'deploy:install_packages' | |
| 121 | after 'deploy:updated', 'deploy:sync' | 131 | after 'deploy:updated', 'deploy:sync' |
| 122 | #after 'deploy:updated', 'deploy:set_permissions' | 132 | #after 'deploy:updated', 'deploy:set_permissions' |
| 123 | after 'deploy:finished', 'deploy:sync_again' | 133 | after 'deploy:finished', 'deploy:sync_again' | ... | ... |
log/capistrano.log
0 → 100644
This diff is collapsed.
Click to expand it.
File moved
File moved
File moved
No preview for this file type
No preview for this file type
No preview for this file type
wp-content/themes/crlg/composer.lock
0 → 100644
| 1 | { | ||
| 2 | "_readme": [ | ||
| 3 | "This file locks the dependencies of your project to a known state", | ||
| 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | ||
| 5 | "This file is @generated automatically" | ||
| 6 | ], | ||
| 7 | "content-hash": "2cb5701a8e3fe3ffc7f40b70e1c1ff85", | ||
| 8 | "packages": [], | ||
| 9 | "packages-dev": [], | ||
| 10 | "aliases": [], | ||
| 11 | "minimum-stability": "stable", | ||
| 12 | "stability-flags": [], | ||
| 13 | "prefer-stable": false, | ||
| 14 | "prefer-lowest": false, | ||
| 15 | "platform": [], | ||
| 16 | "platform-dev": [], | ||
| 17 | "plugin-api-version": "2.3.0" | ||
| 18 | } |
-
Please register or sign in to post a comment