Permalink
Browse files

Refactored. Added installer.

  • Loading branch information...
1 parent 7188fe7 commit b718533d36f3b9a2731e077002d4885563c8c2ac root@server1.enigo.com committed Mar 3, 2007
Showing with 1,000 additions and 140 deletions.
  1. +22 −0 bin/swiftiply.rb
  2. +672 −0 external/package.rb
  3. +58 −0 external/test_support.rb
  4. +25 −0 setup.rb
  5. +0 −140 src/cluster.rb
  6. +223 −0 src/swiftcore/Swiftiply.rb
View
@@ -0,0 +1,22 @@
+#!ruby
+
+require 'optparse'
+
+begin
+ load_attempted ||= false
+ require 'swiftcore/Swiftiply'
+rescue LoadError => e
+ unless load_attempted
+ load_attempted = true
+ require 'rubygems'
+ retry
+ end
+ raise e
+end
+
+ClusterAddress = "127.0.0.1"
+ClusterPort = 8080
+BackendAddress = "127.0.0.1"
+BackendPort = 9080
+
+Swiftcore::Swiftiply.run(ClusterAddress,ClusterPort,BackendAddress,BackendPort)
Oops, something went wrong.

0 comments on commit b718533

Please sign in to comment.