capistrano-typo3 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/capistrano-typo3.gemspec +1 -1
- data/lib/capistrano/tasks/typo3.cap +44 -1
- data/lib/capistrano/typo3/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a065d88787df5af0a0f268f7a98cd2b86e79039
|
|
4
|
+
data.tar.gz: 029e4098d431838cebe203df79f3870656a733cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abb9369739bef10998383553780c1faaf9ad83de8ca30967e9488910e27eaf22558062b1fc9ee33cdae534623ef5ec93095abbd89c95367ea41f5ab8b4b1bf2e
|
|
7
|
+
data.tar.gz: 59dc6a7478a7938807571beb6a0e0e7161c57b4b2fe6d0bbc4eb243c6858e2722011e36d3a449fbdee80349dac786cce0e1da6c813dd492d6a0f958371e28eda
|
data/README.md
CHANGED
|
@@ -49,6 +49,8 @@ about this integrations. English version will follow soon.
|
|
|
49
49
|
* http://stackoverflow.com/questions/9860593/deploying-multiple-applications-into-a-single-tree-with-capistrano-and-git
|
|
50
50
|
* http://stackoverflow.com/questions/11905360/how-best-to-manage-typo3-installations-using-git
|
|
51
51
|
|
|
52
|
+

|
|
53
|
+
|
|
52
54
|
## Contributing
|
|
53
55
|
|
|
54
56
|
1. Fork it ( https://github.com/[my-github-username]/capistrano-typo3/fork )
|
data/capistrano-typo3.gemspec
CHANGED
|
@@ -249,7 +249,50 @@ DBSYNC6
|
|
|
249
249
|
invoke 'typo3:helper:restart_webserver'
|
|
250
250
|
end
|
|
251
251
|
|
|
252
|
-
|
|
252
|
+
|
|
253
|
+
desc "init site from scratch (new installs)"
|
|
254
|
+
task "init_site" do
|
|
255
|
+
invoke 'typo3:vagrant:check_branch'
|
|
256
|
+
|
|
257
|
+
on roles(:all) do
|
|
258
|
+
## PURGE IF NEEDED
|
|
259
|
+
execute "sudo rm -Rf /var/shared/fileadmin /var/shared/typo3temp /var/shared/uploads"
|
|
260
|
+
execute "sudo rm -f /var/current"
|
|
261
|
+
execute "sudo mysql -e 'DROP DATABASE IF EXISTS #{fetch(:dbname)}'"
|
|
262
|
+
|
|
263
|
+
## CREATE
|
|
264
|
+
execute "sudo mkdir -p /var/shared/fileadmin /var/shared/typo3temp /var/shared/uploads"
|
|
265
|
+
execute "sudo chown -Rf vagrant.vagrant /var/shared/fileadmin /var/shared/typo3temp /var/shared/uploads"
|
|
266
|
+
execute "sudo ln -s /var/www/local.typo3.org /var/current"
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
on roles(:all) do
|
|
270
|
+
execute "sudo mysqladmin create #{fetch(:dbname)}"
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
on roles(:all) do
|
|
274
|
+
if fetch(:hs_default_upstream_php_engine)
|
|
275
|
+
execute "sudo sed -i 's/set $upstream .*/set $upstream #{fetch(:hs_default_upstream_php_engine)};/g' /etc/nginx/sites-available/local.typo3.org.conf"
|
|
276
|
+
end
|
|
277
|
+
execute "sudo sed -i 's/root .*/root \"\\/var\\/www\\/local\\.typo3\\.org\\/dummy\\/\";/g' /etc/nginx/sites-available/local.typo3.org.conf"
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
invoke 'typo3:helper:restart_webserver'
|
|
281
|
+
|
|
282
|
+
print <<MSG
|
|
283
|
+
|
|
284
|
+
----------------------------------------------------------------------
|
|
285
|
+
The website conf seems to be succesfully installed in the Homestead Vagrant
|
|
286
|
+
machine.
|
|
287
|
+
|
|
288
|
+
Open the site at http://local.typo3.org"
|
|
289
|
+
|
|
290
|
+
you can now install TYPO3
|
|
291
|
+
|
|
292
|
+
----------------------------------------------------------------------
|
|
293
|
+
MSG
|
|
294
|
+
end
|
|
295
|
+
desc "setup site (remote exists)"
|
|
253
296
|
task "setup_site" do
|
|
254
297
|
invoke 'typo3:vagrant:check_branch'
|
|
255
298
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-typo3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pim Snel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -42,14 +42,14 @@ dependencies:
|
|
|
42
42
|
name: capistrano
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '3'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '3'
|
|
55
55
|
description: Capistrano 3 deployment and continious delivery tasks for TYPO3 versions
|