olympus-hestia-capistrano 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +9 -18
- data/lib/capistrano/vars/defaults.rb +15 -15
- data/olympus-hestia-capistrano.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83c13b017aa371a22bdd930a298ac07aca62da3b846e0d57fdc1ef0c97e6e43f
|
4
|
+
data.tar.gz: f4f64a6aeeffd7caa152cfc7efec07a9eb3c529c26918e8110e71cd12eedacce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d3cd6b97ef33c6236bd0d1c0123066f7041c344099519873b9d0050be70a229e8e18ce9100dd647de824ca157878b6443392e270dab39a0aeae76b83ec65546
|
7
|
+
data.tar.gz: e5b26f79368125519d73330c7cdcd6fc5056e21cfdc520edd894a6d608af415d23141a2d2fca24466f9556e8fdc1bf7a8a091da49fd4ebf77416a44b777cb7f0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -35,7 +35,7 @@ set :keep_releases, fetch(:keep_releases, 3)
|
|
35
35
|
|
36
36
|
# Setup Project
|
37
37
|
set :application, fetch(:application, 'olympus-capified')
|
38
|
-
set :localurl, fetch(:localurl, '
|
38
|
+
set :localurl, fetch(:localurl, 'https://www.domain.tld')
|
39
39
|
```
|
40
40
|
|
41
41
|
## Installation
|
@@ -44,13 +44,13 @@ You can easily install the **Olympus Hestia Capistrano** gem simply:
|
|
44
44
|
|
45
45
|
```sh
|
46
46
|
# In your Capfile
|
47
|
-
require 'capistrano/olympus'
|
47
|
+
require 'capistrano/olympus-hestia-capistrano'
|
48
48
|
```
|
49
49
|
|
50
50
|
```sh
|
51
51
|
# In your Gemfile
|
52
52
|
gem 'capistrano', '~> 3.4'
|
53
|
-
gem 'olympus-hestia-capistrano', '~> 0.0.
|
53
|
+
gem 'olympus-hestia-capistrano', '~> 0.0.9'
|
54
54
|
```
|
55
55
|
|
56
56
|
## Full example
|
@@ -80,27 +80,18 @@ gem push olympus-hestia-capistrano-x.x.x.gem
|
|
80
80
|
|
81
81
|
## Release History
|
82
82
|
|
83
|
-
|
84
|
-
- [x] ADD: change capistrano gem file
|
85
|
-
- [x] ADD: contributors file
|
86
|
-
|
87
|
-
* 0.0.8 (May 14, 2016)
|
88
|
-
- [x] ADD: add steps to build new gem file
|
89
|
-
|
90
|
-
* 0.0.7 (April 11, 2016)
|
91
|
-
- [x] ADD: update tasks, create linked_files and linked_dirs in the right way, create symlinks, and more
|
83
|
+
See [**CHANGELOG.md**][changelog-blob] for all details.
|
92
84
|
|
93
85
|
## Authors and Copyright
|
94
86
|
|
95
87
|
Achraf Chouk
|
96
88
|
[![@crewstyle][twitter-image]][twitter-url]
|
97
89
|
|
98
|
-
Please, read [LICENSE][license-blob] for more information.
|
99
|
-
[![MIT][license-image]][license-url]
|
100
|
-
|
101
90
|
[https://github.com/crewstyle](https://github.com/crewstyle)
|
102
91
|
[http://fr.linkedin.com/in/achrafchouk](http://fr.linkedin.com/in/achrafchouk)
|
103
92
|
|
93
|
+
Please, read [![MIT][license-image]][license-blob] for more information.
|
94
|
+
|
104
95
|
---
|
105
96
|
|
106
97
|
**Built with ♥ by [Achraf Chouk](http://github.com/crewstyle "Achraf Chouk") ~ (c) since a long time.**
|
@@ -110,10 +101,10 @@ Please, read [LICENSE][license-blob] for more information.
|
|
110
101
|
[olympus-url]: https://github.com/GetOlympus
|
111
102
|
[capistrano-image]: https://img.shields.io/badge/Capistrano-3-52C1DB.svg?style=flat-square
|
112
103
|
[capistrano-url]: https://github.com/capistrano/capistrano
|
113
|
-
[
|
114
|
-
[gem-
|
104
|
+
[changelog-blob]: https://github.com/GetOlympus/Hestia-Capistrano/blob/master/CHANGELOG.md
|
105
|
+
[gem-image]: https://img.shields.io/gem/v/olympus-hestia-capistrano.svg?style=flat-square
|
106
|
+
[gem-url]: https://rubygems.org/gems/olympus-hestia-capistrano
|
115
107
|
[license-blob]: https://github.com/GetOlympus/Hestia-Capistrano/blob/master/LICENSE
|
116
108
|
[license-image]: https://img.shields.io/badge/license-MIT_License-blue.svg?style=flat-square
|
117
|
-
[license-url]: http://opensource.org/licenses/MIT
|
118
109
|
[twitter-image]: https://img.shields.io/badge/crewstyle-blue.svg?style=social&logo=twitter
|
119
110
|
[twitter-url]: http://twitter.com/crewstyle
|
@@ -1,18 +1,18 @@
|
|
1
1
|
# ~~~~
|
2
2
|
|
3
|
-
set :files, fetch(:files, [
|
4
|
-
set :dirs, fetch(:dirs, [
|
5
|
-
set :stage_user, fetch(:stage_user,
|
3
|
+
set :files, fetch(:files, ["app/config/env.php", "app/config/salt.php", "web/.htaccess", "web/robots.txt"])
|
4
|
+
set :dirs, fetch(:dirs, ["web/statics/languages", "web/statics/plugins", "web/statics/uploads"])
|
5
|
+
set :stage_user, fetch(:stage_user, "www-data")
|
6
6
|
|
7
7
|
# ~~~~
|
8
8
|
|
9
9
|
# Setup Git
|
10
|
-
set :repo_url,
|
10
|
+
set :repo_url, "git@github.com:GetOlympus/Olympus.git"
|
11
11
|
set :scm, :git
|
12
12
|
set :git_enable_submodules, true
|
13
13
|
|
14
14
|
# Setup SSH
|
15
|
-
set :copy_exclude, [
|
15
|
+
set :copy_exclude, [".DS_Store", ".git", ".gitignore", ".gitmodules"]
|
16
16
|
set :use_sudo, false
|
17
17
|
set :sudo, "sudo -u #{fetch(:stage_user)} -i --"
|
18
18
|
set :ssh_options, {
|
@@ -22,7 +22,7 @@ set :ssh_options, {
|
|
22
22
|
# ~~~~
|
23
23
|
|
24
24
|
# Setup Composer
|
25
|
-
set :composer_flags,
|
25
|
+
set :composer_flags, "--no-dev --prefer-dist --optimize-autoloader"
|
26
26
|
set :composer_install_flags, :composer_flags
|
27
27
|
|
28
28
|
# ~~~~
|
@@ -34,18 +34,18 @@ set :file_permissions_users, [:stage_user]
|
|
34
34
|
# ~~~~
|
35
35
|
|
36
36
|
# Setup Symlinks
|
37
|
-
|
38
|
-
|
37
|
+
append :linked_files, :files
|
38
|
+
append :linked_dirs, :dirs
|
39
39
|
|
40
40
|
# ~~~~
|
41
41
|
|
42
42
|
# Setup Database
|
43
|
-
set :database_host, ask("Enter the database hostname:".colorize(:magenta),
|
44
|
-
set :database_name, ask("Enter the database name:".colorize(:magenta),
|
45
|
-
set :database_user, ask("Enter the database user:".colorize(:magenta),
|
46
|
-
set :database_pass, ask("Enter the database password:".colorize(:magenta),
|
43
|
+
set :database_host, ask("Enter the database hostname:".colorize(:magenta), "localhost")
|
44
|
+
set :database_name, ask("Enter the database name:".colorize(:magenta), "database_name_here")
|
45
|
+
set :database_user, ask("Enter the database user:".colorize(:magenta), "username_here")
|
46
|
+
set :database_pass, ask("Enter the database password:".colorize(:magenta), "password_here", echo: false)
|
47
47
|
|
48
48
|
# Setup WordPress
|
49
|
-
set :wordpress_name, ask("Enter the admin username:".colorize(:magenta),
|
50
|
-
set :wordpress_mail, ask("Enter the admin email address:".colorize(:magenta),
|
51
|
-
set :wordpress_pass, ask("Enter the admin password:".colorize(:magenta),
|
49
|
+
set :wordpress_name, ask("Enter the admin username:".colorize(:magenta), "admin")
|
50
|
+
set :wordpress_mail, ask("Enter the admin email address:".colorize(:magenta), "admin@domain.tld")
|
51
|
+
set :wordpress_pass, ask("Enter the admin password:".colorize(:magenta), "password", echo: false)
|
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
# Specifications
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = 'olympus-hestia-capistrano'
|
8
|
-
gem.version = '0.0.
|
8
|
+
gem.version = '0.0.10'
|
9
9
|
gem.date = Time.now.strftime("%Y-%m-%d")
|
10
10
|
gem.authors = ['Achraf Chouk']
|
11
11
|
gem.email = ['achrafchouk@gmail.com']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: olympus-hestia-capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Achraf Chouk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|