torquebox-stompbox 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +16 -16
- data/README.md +35 -22
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -100,21 +100,21 @@ GEM
|
|
100
100
|
stringex (1.2.1)
|
101
101
|
thor (0.14.6)
|
102
102
|
tilt (1.2.2)
|
103
|
-
torquebox (1.0.0.
|
104
|
-
torquebox-base (= 1.0.0.
|
105
|
-
torquebox-messaging (= 1.0.0.
|
106
|
-
torquebox-naming (= 1.0.0.
|
107
|
-
torquebox-rake-support (= 1.0.0.
|
108
|
-
torquebox-vfs (= 1.0.0.
|
109
|
-
torquebox-web (= 1.0.0.
|
110
|
-
torquebox-base (1.0.0.
|
111
|
-
torquebox-messaging (1.0.0.
|
112
|
-
torquebox-base (= 1.0.0.
|
113
|
-
torquebox-naming (= 1.0.0.
|
114
|
-
torquebox-naming (1.0.0.
|
115
|
-
torquebox-rake-support (1.0.0.
|
116
|
-
torquebox-vfs (1.0.0.
|
117
|
-
torquebox-web (1.0.0.
|
103
|
+
torquebox (1.0.0.CR2)
|
104
|
+
torquebox-base (= 1.0.0.CR2)
|
105
|
+
torquebox-messaging (= 1.0.0.CR2)
|
106
|
+
torquebox-naming (= 1.0.0.CR2)
|
107
|
+
torquebox-rake-support (= 1.0.0.CR2)
|
108
|
+
torquebox-vfs (= 1.0.0.CR2)
|
109
|
+
torquebox-web (= 1.0.0.CR2)
|
110
|
+
torquebox-base (1.0.0.CR2-java)
|
111
|
+
torquebox-messaging (1.0.0.CR2-java)
|
112
|
+
torquebox-base (= 1.0.0.CR2)
|
113
|
+
torquebox-naming (= 1.0.0.CR2)
|
114
|
+
torquebox-naming (1.0.0.CR2-java)
|
115
|
+
torquebox-rake-support (1.0.0.CR2)
|
116
|
+
torquebox-vfs (1.0.0.CR2-java)
|
117
|
+
torquebox-web (1.0.0.CR2-java)
|
118
118
|
uuidtools (2.1.2)
|
119
119
|
|
120
120
|
PLATFORMS
|
@@ -141,4 +141,4 @@ DEPENDENCIES
|
|
141
141
|
sinatra-reloader (= 0.5.0)
|
142
142
|
state_machine
|
143
143
|
thor
|
144
|
-
torquebox (= 1.0.0.
|
144
|
+
torquebox (= 1.0.0.CR2)
|
data/README.md
CHANGED
@@ -1,13 +1,11 @@
|
|
1
1
|
# StompBox : A Deployer for TorqueBox
|
2
2
|
|
3
3
|
StompBox is a simple Sinatra app that can be used to manage deployments on
|
4
|
-
[TorqueBox][torquebox] by accepting commit
|
4
|
+
[TorqueBox][torquebox] by accepting post-commit POST-backs from [GitHub][github].
|
5
5
|
It provides a user interface for managing one-click deployment and undeployment
|
6
6
|
of your github repositories to TorqueBox for specific branches and commit
|
7
7
|
points.
|
8
8
|
|
9
|
-
## Why?
|
10
|
-
|
11
9
|
StompBox is useful for testing and development environments where your code is
|
12
10
|
changing frequently and you want to quickly deploy working branches and staging
|
13
11
|
instances. It integrates with your [GitHub][github] repositories to enable
|
@@ -18,35 +16,49 @@ such as messaging, scheduling, tasks, clustering and more.
|
|
18
16
|
|
19
17
|
## Installation
|
20
18
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
Installing StompBox is painless.
|
20
|
+
|
21
|
+
### Prerequisites
|
22
|
+
|
23
|
+
If you don't already have TorqueBox installed, you should do that first. Head
|
24
|
+
on over to the [TorqueBox][torquebox] web site and follow the detailed
|
25
|
+
instructions for downloading, installing, configuring and running TorqueBox.
|
26
|
+
Don't worry - it's easy. Or, if you want to just take us out for a quick spin
|
27
|
+
around the block and kick the tires, use our [TorqueBox Appliance][appliance]
|
28
|
+
(CR1 image id: ami-a8ca36c1).
|
25
29
|
|
26
30
|
StompBox hasn't been tested on Windows and may not work in that environment.
|
27
31
|
However, if you are running a Unix-y system such as Fedora or Mac OSX, then you
|
28
32
|
should be fine.
|
29
33
|
|
30
|
-
|
31
|
-
|
34
|
+
StompBox uses PostgreSQL for persistent storage. See the deployment
|
35
|
+
instructions below for additional details.
|
32
36
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
### Gem Install
|
38
|
+
|
39
|
+
StompBox is installed as a Ruby Gem:
|
40
|
+
|
41
|
+
$ jruby -S gem install torquebox-stompbox --pre
|
42
|
+
|
43
|
+
The `--pre` flag is required until we have an official 1.0 release.
|
44
|
+
|
45
|
+
### Deployment
|
46
|
+
|
47
|
+
Once you've installed the gem, you can deploy it. Make sure you have
|
48
|
+
`$TORQUEBOX_HOME` set and issue the following command:
|
49
|
+
|
50
|
+
$ jruby -S stompbox deploy --setup-db --auto-migrate --secure=username:password
|
51
|
+
|
52
|
+
This will install StompBox in `$TORQUEBOX_HOME/apps`, create and initialize the
|
53
|
+
database, and turn on JAAS authentication for StompBox with the username and
|
54
|
+
password supplied. You'll need to run this command as a user that has database
|
55
|
+
create privileges in order for all of that setup magic to work correctly.
|
40
56
|
|
41
|
-
$ cd stompbox && bundle install
|
42
|
-
<output clipped for brevity - you should see this at the end>
|
43
|
-
Your bundle is complete! It was installed into /path/to/gem/home
|
44
|
-
|
45
|
-
$ rake torquebox:deploy
|
46
57
|
|
47
58
|
## Configuration
|
48
59
|
|
49
|
-
Configuration options are found in
|
60
|
+
Configuration options are found in
|
61
|
+
`$TORQUEBOX_HOME/apps/torquebox-stompbox-knob.yml`. Here are some things
|
50
62
|
you'll want to pay attention to.
|
51
63
|
|
52
64
|
* **DATABASE_URL** Provide a URI for connecting to your database. By convention,
|
@@ -121,5 +133,6 @@ This project is very immature and there are many features which are outstanding
|
|
121
133
|
This software is distributed under an [MIT software license][license].
|
122
134
|
|
123
135
|
[torquebox]: http://torquebox.org "TorqueBox"
|
136
|
+
[appliance]: http://github.com/torquebox/torquebox-appliances "TorqueBox Appliances on GitHub"
|
124
137
|
[github]: https://github.com "GitHub"
|
125
138
|
[license]: 'LICENSE.txt' "MIT License"
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: torquebox-stompbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Lance Ball
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-27 00:00:00 -04:00
|
14
14
|
default_executable: stompbox
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -196,7 +196,7 @@ dependencies:
|
|
196
196
|
requirements:
|
197
197
|
- - "="
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version: 1.0.0.
|
199
|
+
version: 1.0.0.CR2
|
200
200
|
requirement: *id017
|
201
201
|
prerelease: false
|
202
202
|
type: :runtime
|