dahlia 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +49 -0
- data/Rakefile +2 -0
- data/dahlia.gemspec +17 -0
- data/lib/dahlia.rb +5 -0
- data/lib/dahlia/version.rb +3 -0
- metadata +53 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Andy Delcambre
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Dahlia
|
2
|
+
|
3
|
+
A tool for deploying[2] applications[1] to the cloud[3].
|
4
|
+
|
5
|
+
## Application Centric
|
6
|
+
|
7
|
+
All sets of servers that you interact with are nested under an
|
8
|
+
application. The application is named, but the unique key is the git
|
9
|
+
repository for the application. You can deploy one application in
|
10
|
+
multiple environments, but the tooling does not support deplying
|
11
|
+
multiple applications to the same environment out of the box.
|
12
|
+
|
13
|
+
## Deployment
|
14
|
+
|
15
|
+
This tool has three seperate but related uses.
|
16
|
+
|
17
|
+
1. Server creation and destruction and the record keeping required
|
18
|
+
therein.
|
19
|
+
|
20
|
+
`dahlia create` spins up new servers as outlines in the config files.
|
21
|
+
|
22
|
+
You can also scale up and down the different tiers of instances
|
23
|
+
depending on how they are configured.
|
24
|
+
|
25
|
+
2. Application deployment.
|
26
|
+
|
27
|
+
This takes your application and puts it on all of the servers that
|
28
|
+
are setup to need it, and then configures them to be run (mostly setting
|
29
|
+
environment variables for the external configuration). It then runs
|
30
|
+
whatever command you have set to boot the app. There are more steps here
|
31
|
+
as well including migrations and maintenance pages.
|
32
|
+
|
33
|
+
3. Server management
|
34
|
+
|
35
|
+
Dahlia also manages the configuration of your servers. This can be
|
36
|
+
adding a server and notifying a load balancer, reconfiguring mysql with
|
37
|
+
new updates, etc.
|
38
|
+
|
39
|
+
## "The Cloud"
|
40
|
+
|
41
|
+
This tool is one of the class of tool that claims to manage "The Cloud".
|
42
|
+
My definition of what this means in the context of dahlia is that:
|
43
|
+
|
44
|
+
1. Dahlia only manages servers that it has created (by default).
|
45
|
+
2. Dahlia interacts with resources that allow creation of servers via an
|
46
|
+
api.
|
47
|
+
|
48
|
+
That is basically it.
|
49
|
+
|
data/Rakefile
ADDED
data/dahlia.gemspec
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/dahlia/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Andy Delcambre"]
|
6
|
+
gem.email = ["adelcambre@gmail.com"]
|
7
|
+
gem.description = %q{A gem idea}
|
8
|
+
gem.summary = %q{Just an idea}
|
9
|
+
gem.homepage = "http://dahlia.io"
|
10
|
+
|
11
|
+
gem.files = `git ls-files`.split($\)
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
+
gem.name = "dahlia"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = Dahlia::VERSION
|
17
|
+
end
|
data/lib/dahlia.rb
ADDED
metadata
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dahlia
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Andy Delcambre
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-09-10 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: A gem idea
|
15
|
+
email:
|
16
|
+
- adelcambre@gmail.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- .gitignore
|
22
|
+
- Gemfile
|
23
|
+
- LICENSE
|
24
|
+
- README.md
|
25
|
+
- Rakefile
|
26
|
+
- dahlia.gemspec
|
27
|
+
- lib/dahlia.rb
|
28
|
+
- lib/dahlia/version.rb
|
29
|
+
homepage: http://dahlia.io
|
30
|
+
licenses: []
|
31
|
+
post_install_message:
|
32
|
+
rdoc_options: []
|
33
|
+
require_paths:
|
34
|
+
- lib
|
35
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
requirements: []
|
48
|
+
rubyforge_project:
|
49
|
+
rubygems_version: 1.8.23
|
50
|
+
signing_key:
|
51
|
+
specification_version: 3
|
52
|
+
summary: Just an idea
|
53
|
+
test_files: []
|