rails_pwnerer 0.6.85 → 0.6.86
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.
- data/CHANGELOG +2 -0
- data/README +4 -4
- data/lib/rails_pwnerer/app/main.rb +3 -0
- data/lib/rails_pwnerer/app/nginx_config.rb +1 -0
- data/rails_pwnerer.gemspec +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/README
CHANGED
|
@@ -55,11 +55,8 @@ sudo rpwn install you@your.repository.host/path/to/your_application.git
|
|
|
55
55
|
or
|
|
56
56
|
|
|
57
57
|
sudo rpwn install p4://you:yourpass@host:port/path/to/your/application
|
|
58
|
-
|
|
59
|
-
5) Reboot, or start the services right away:
|
|
60
|
-
sudo rpwn go live
|
|
61
58
|
|
|
62
|
-
|
|
59
|
+
5) Maintain your application
|
|
63
60
|
|
|
64
61
|
* Push the updates in the SVN repository:
|
|
65
62
|
sudo rpwn update your_application
|
|
@@ -88,6 +85,9 @@ sudp rpwn rekey your_application
|
|
|
88
85
|
* Bring down all the applications (panic mode):
|
|
89
86
|
sudo rpwn go down
|
|
90
87
|
|
|
88
|
+
* Bring all the applications back up (out of panic mode):
|
|
89
|
+
sudo rpwn go live
|
|
90
|
+
|
|
91
91
|
* Reset your database (drops and re-creates, useful in staging instances):
|
|
92
92
|
sudo rpwn db_reset your_application
|
|
93
93
|
(you need to read the next section on instances and configuration, and set
|
|
@@ -30,6 +30,9 @@ module RailsPwnerer::App
|
|
|
30
30
|
[Config, Files, Gems, Database, ClusterConfig, NginxConfig, Scripts].each do |mod|
|
|
31
31
|
mod.new.setup app, instance
|
|
32
32
|
end
|
|
33
|
+
Scripts.new.pre_start app, instance
|
|
34
|
+
ClusterConfig.new.start app, instance
|
|
35
|
+
Scripts.new.post_start app, instance
|
|
33
36
|
else
|
|
34
37
|
if success == :next
|
|
35
38
|
print "rails_pwange only supports git, subversion, and perforce at this time. \n"
|
data/rails_pwnerer.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_pwnerer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 171
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 6
|
|
9
|
-
-
|
|
10
|
-
version: 0.6.
|
|
9
|
+
- 86
|
|
10
|
+
version: 0.6.86
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Victor Costan
|