bin/mad_chatter in mad_chatter-0.3.3 vs bin/mad_chatter in mad_chatter-0.3.4
- old
+ new
@@ -17,17 +17,18 @@
directory "templates/extensions", "#{name}/extensions"
directory "templates/web", "#{name}/web"
end
desc "update", "Updates an existing Mad Chatter application"
- def new(name)
+ def update
copy_file "templates/config.yml", "config.yml"
directory "templates/extensions", "extensions"
directory "templates/web", "web"
end
desc 'preview', 'Starts both a web server and the Mad Chatter chat server'
def preview
+ puts 'Starting the web server at http://localhost:3000'
t1 = Thread.new { require 'mad_chatter/web_server' }
t2 = Thread.new { require 'mad_chatter'; MadChatter.start }
t2.join()
end
\ No newline at end of file