railman 0.3.0 → 0.3.1
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 +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9327ab63c74e0ed95f0855c9317b24a591c6d31b
|
|
4
|
+
data.tar.gz: 8e2b0b59f5a25331fdb3765392f66e27a41311bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43377aec6caec8c871e6c14d52559737fe19f8a156cabf726e7e6051bc0b98c6141aa567ec0d5e13980c91165626a896436399010bea6334e871b840689f51b9
|
|
7
|
+
data.tar.gz: 4b1a9684673eef0c18a750bcfa1aa15b80da068198924fcf0a45e5c9892a48fd6b513287f9f833e33739d3bfde367ed8a58741409db9b89dcfb66b5e7c4656d7
|
data/lib/railman/cli.rb
CHANGED
data/lib/railman/version.rb
CHANGED
|
@@ -48,9 +48,8 @@ task :setup do
|
|
|
48
48
|
execute :service, "nginx restart"
|
|
49
49
|
else
|
|
50
50
|
execute :cp, '.env.example.production', '.env'
|
|
51
|
-
execute "sed -i -e 's/TODO: generate with: rake secret/#{SecureRandom.hex(64)}/g'
|
|
51
|
+
execute "sed -i -e 's/TODO: generate with: rake secret/#{SecureRandom.hex(64)}/g' #{fetch(:deploy_to)}/.env"
|
|
52
52
|
warn "TODO: Edit .env and modify your database and smtp settings."
|
|
53
|
-
warn "TODO: Create rails secret token with 'rake secret' and insert it into .env"
|
|
54
53
|
warn "TODO: Create ssl certificates by running the following command as root: /etc/letsencrypt/generate_letsencrypt.sh"
|
|
55
54
|
warn "TODO: Run 'cap ENV setup' again!"
|
|
56
55
|
end
|