Skip to content

Commit

Permalink
Removed duostack hosting option because duostack doesn't seem to work…
Browse files Browse the repository at this point in the history
… anymore.
  • Loading branch information
parndt committed Aug 18, 2011
1 parent 29f0b9c commit 71aabd8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bin/refinerycms
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ module Refinery
:username => 'root',
:skip => false
},
:duostack => false,
:force => false,
:gems => [],
:heroku => false,
Expand Down Expand Up @@ -104,10 +103,6 @@ module Refinery
@options[:heroku] = app_name || ''
end

opts.on("--duostack APP_NAME", String, "Set up and deploy to Duostack") do |app_name|
@options[:duostack] = app_name
end

opts.on("-c", "--confirm", "Confirm any prompts that require input") do
@options[:confirm] = true
end
Expand Down Expand Up @@ -354,13 +349,12 @@ module Refinery
# Deploy to Heroku
hosting = nil
hosting = "Heroku" if @options[:heroku]
hosting = "Duostack" if @options[:duostack]
unless hosting.nil?
puts "\n\nInitializing and committing to git..\n"
run_command("git init && git add . && git commit -am 'Initial Commit'", :ruby => false)

puts "\n\nCreating #{hosting} app..\n"
run_command("#{hosting.downcase} create #{@options[:heroku] || @options[:duostack]}")
run_command("#{hosting.downcase} create #{@options[:heroku]}")

puts "\n\nPushing to #{hosting} (this takes time, be patient)..\n"
run_command("git push #{hosting.downcase} master", :ruby => false)
Expand Down

0 comments on commit 71aabd8

Please sign in to comment.