Skip to content

Commit

Permalink
Added a gitignore and a simple Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
danopia committed Nov 4, 2009
1 parent d79a878 commit 19bc9ed
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
rails/db/*.sqlite3
rails/log
23 changes: 23 additions & 0 deletions Rakefile
@@ -0,0 +1,23 @@
require 'rake'

task :default => ['provider:start']

desc 'Start the provider as a XMPP component cluster'
task 'provider:start' do
ruby 'xmpp_component.rb'
end

desc 'Start a thin instance, in the background'
task 'thin:start' do
sh 'thin start -dR rack.ru'
end

desc 'Start a thin instance, in the foreground'
task 'thin:fg' do
sh 'thin start -R rack.ru'
end

desc 'Stop an instance of thin that was started in the background'
task 'thin:stop' do
sh 'thin stop'
end

0 comments on commit 19bc9ed

Please sign in to comment.