-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
155 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
nbproject | ||
test |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require 'rubygems' | ||
require 'rainbow' | ||
|
||
require File.join(File.dirname(__FILE__), '..', 'lib', 'config') | ||
require File.join(File.dirname(__FILE__), '..', 'lib', 'deployer') | ||
|
||
include SunRaise::PubConf | ||
|
||
|
||
if File.expand_path(__FILE__) == File.expand_path(File.join(Dir.pwd, 'sunraise')) | ||
puts "Run it from you app folder, containing sunraise file with deploy instructions" | ||
exit | ||
end | ||
|
||
unless File.file?(File.join Dir.pwd, 'sunraise') | ||
puts "No sunraise file found at #{Dir.pwd}" | ||
exit | ||
end | ||
|
||
|
||
at_exit { SunRaise::Deployer.new.go! } | ||
|
||
|
||
load File.join Dir.pwd, 'sunraise' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
remote_host 'twews.com' | ||
remote_user 'root' | ||
|
||
git_url 'git://github.com/Paxa/sunraise_test_app.git' | ||
|
||
deploy_to '/tmp/deploy/suntest' | ||
then_link_to '/tmp/www/suntest' | ||
|
||
shared_dirs ['lib'] | ||
linked_dirs ['logs', 'tmp'] | ||
|
||
local_project_path "/home/paxa/Dropbox/sunraise/test/suntest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Gem::Specification.new do |s| | ||
s.name = "sunraise" | ||
s.version = "0.1" | ||
s.summary = "Super-fast and simple rails deployment." | ||
s.description = "Super-fast and simple rails deployment" | ||
s.author = "Pavel Evstigneev" | ||
s.email = "pavel.evst@gmail.com" | ||
s.homepage = "http://github.com/Paxa/sunraise" | ||
s.has_rdoc = false | ||
s.executables = ["sunraise"] | ||
s.rubyforge_project = "sunraise" | ||
s.files = [ "bin/sunraise", "lib/config.rb", "lib/deployer.rb", "README.md", "sunraise.gemspec", 'sunraise.example'] | ||
end |
Submodule configs
deleted from
b6de9f
Submodule newrepo
deleted from
b6de9f