railman 0.1.1 → 0.1.2
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/lib/railman/cli.rb +1 -0
- data/lib/railman/version.rb +1 -1
- data/templates/rails_app/config/deploy.rb.tt +4 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc1920be3b4235bb10d818b3b348a794035d0298
|
|
4
|
+
data.tar.gz: bd8be02573c1b1757332c591117c5f95d16a93ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f3637c9323a23861e65e360f3ee69fbdde437ba4ed1ce370ebcf367b9b02891b3c5bb4f5dfcb3a009256fe396d3f992c726b84cc9dd0383d88a6f788e9ef5d61
|
|
7
|
+
data.tar.gz: 82c00e37a34acc67061c0112e2ff6627d6dbbeceab192aaa71bfb78927b32361cd60c33c546f81fc53e8c18a5a53a21d860a169a4a18ee65b4a8050759327e0f
|
data/lib/railman/cli.rb
CHANGED
|
@@ -41,6 +41,7 @@ module Railman
|
|
|
41
41
|
template "rails_app/.env.example.development.tt", "#{app_name}/.env"
|
|
42
42
|
Dir.chdir app_name do
|
|
43
43
|
run "bundle install"
|
|
44
|
+
run "chmod +x bin/*"
|
|
44
45
|
create_local_git_repository
|
|
45
46
|
create_remote_git_repository(@repository) if yes?("Do you want me to create bitbucket repository named #{app_name}? (y/n)")
|
|
46
47
|
end
|
data/lib/railman/version.rb
CHANGED
|
@@ -45,12 +45,10 @@ task :setup do
|
|
|
45
45
|
execute :eye, :start, fetch(:application)
|
|
46
46
|
execute :service, "nginx restart"
|
|
47
47
|
else
|
|
48
|
-
warn "TODO
|
|
49
|
-
warn "TODO
|
|
50
|
-
warn "TODO
|
|
51
|
-
warn "TODO
|
|
52
|
-
warn " /opt/letsencrypt/letsencrypt-auto --config /etc/nginx/letsencrypt/#{fetch(:application)}.conf --standalone certonly"
|
|
53
|
-
warn "TODO 5: Run 'cap ENV setup' again!"
|
|
48
|
+
warn "TODO: Create .env on the server by copying from .env.example.production and modify your database and smtp settings."
|
|
49
|
+
warn "TODO: Create rails secret token with 'rake secret' and insert it into .env"
|
|
50
|
+
warn "TODO: Create ssl certificates by running the following command as root: /etc/letsencrypt/generate_letsencrypt.sh"
|
|
51
|
+
warn "TODO: Run 'cap ENV setup' again!"
|
|
54
52
|
end
|
|
55
53
|
end
|
|
56
54
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Jancev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-04-
|
|
11
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|