Class: FreeMessageQueue::Boot
- Inherits:
-
Object
- Object
- FreeMessageQueue::Boot
- Defined in:
- lib/fmq/boot.rb
Overview
Boot deals with the tasks to create up a project and start the server etc.
Class Method Summary collapse
-
.create_project(project_name) ⇒ Object
This method will copy the default-server project files to the passed (project_name) location.
Class Method Details
.create_project(project_name) ⇒ Object
This method will copy the default-server project files to the passed (project_name) location. The default-server contains some basic and sample stuff so that the free message queue can be used as fast as possible. Including:
-
The Admin UI (Ajax Interface) => so that you can make changes
-
The default configuration => with some sample queues
-
A custom queue implementation => to basically show how to create my own queues
65 66 67 68 |
# File 'lib/fmq/boot.rb', line 65 def self.create_project(project_name) require 'fileutils' FileUtils.cp_r(File.dirname(__FILE__) + '/../../default-server', project_name) end |