README.rdoc 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. == Welcome to Zammad
  2. Zammad is a web based open source helpdesk/ticket system with many features
  3. to manage customer telephone calls and e-mails. It is distributed under the
  4. GNU AFFERO General Public License (AGPL) and tested on Linux, Solaris, AIX,
  5. Windows, FreeBSD, OpenBSD and Mac OS 10.x. Do you receive many e-mails and
  6. want to answer them with a team of agents? You're going to love Zammad!
  7. == Feature List
  8. * TBD 1
  9. * TBD 2
  10. == Getting Started
  11. 1. Install Zammad on your system
  12. shell> tar -xzvf zammad-1.0.1.tar.gz
  13. 2. Install all dependencies
  14. shell> cd zammad
  15. shell> sudo gem install rails
  16. shell> sudo bundle install
  17. 3. Configure your databases (if needed)
  18. 4. Initialize your database
  19. shell> rake db:migrate
  20. shell> rake db:seed
  21. 5. Change directory to <tt>zammad</tt> (if needed) and start the web server:
  22. shell> rails server
  23. 6. Go to http://localhost:3000/app#getting_started and you'll see:
  24. "Welcome to Zammad!", there you need to create your admin
  25. user and you need to invite other agents.
  26. * The Getting Started Guide: http://guides.zammd.org/getting_started.html
  27. == Description of Contents
  28. The default directory structure of Zammad:
  29. |-- app
  30. | |-- assets
  31. | |-- images
  32. | |-- javascripts
  33. | `-- stylesheets
  34. | |-- controllers
  35. | |-- helpers
  36. | |-- mailers
  37. | |-- models
  38. | `-- views
  39. | `-- layouts
  40. |-- config
  41. | |-- environments
  42. | |-- initializers
  43. | `-- locales
  44. |-- db
  45. |-- doc
  46. |-- lib
  47. | `-- tasks
  48. |-- log
  49. |-- public
  50. |-- script
  51. |-- test
  52. | |-- fixtures
  53. | |-- functional
  54. | |-- integration
  55. | |-- performance
  56. | `-- unit
  57. |-- tmp
  58. | |-- cache
  59. | |-- pids
  60. | |-- sessions
  61. | `-- sockets
  62. `-- vendor
  63. |-- assets
  64. `-- stylesheets
  65. `-- plugins
  66. app
  67. Holds all the code that's specific to this particular application.
  68. app/assets
  69. Contains subdirectories for images, stylesheets, and JavaScript files.
  70. app/controllers
  71. Holds controllers that should be named like weblogs_controller.rb for
  72. automated URL mapping. All controllers should descend from
  73. ApplicationController which itself descends from ActionController::Base.
  74. app/models
  75. Holds models that should be named like post.rb. Models descend from
  76. ActiveRecord::Base by default.
  77. app/views
  78. Holds the template files for the view that should be named like
  79. weblogs/index.html.erb for the WeblogsController#index action. All views use
  80. eRuby syntax by default.
  81. app/views/layouts
  82. Holds the template files for layouts to be used with views. This models the
  83. common header/footer method of wrapping views. In your views, define a layout
  84. using the <tt>layout :default</tt> and create a file named default.html.erb.
  85. Inside default.html.erb, call <% yield %> to render the view using this
  86. layout.
  87. app/helpers
  88. Holds view helpers that should be named like weblogs_helper.rb. These are
  89. generated for you automatically when using generators for controllers.
  90. Helpers can be used to wrap functionality for your views into methods.
  91. config
  92. Configuration files for the Rails environment, the routing map, the database,
  93. and other dependencies.
  94. db
  95. Contains the database schema in schema.rb. db/migrate contains all the
  96. sequence of Migrations for your schema.
  97. doc
  98. This directory is where your application documentation will be stored when
  99. generated using <tt>rake doc:app</tt>
  100. lib
  101. Application specific libraries. Basically, any kind of custom code that
  102. doesn't belong under controllers, models, or helpers. This directory is in
  103. the load path.
  104. public
  105. The directory available for the web server. Also contains the dispatchers and the
  106. default HTML files. This should be set as the DOCUMENT_ROOT of your web
  107. server.
  108. script
  109. Helper scripts for automation and generation.
  110. test
  111. Unit and functional tests along with fixtures. When using the rails generate
  112. command, template test files will be generated for you and placed in this
  113. directory.
  114. vendor
  115. External libraries that the application depends on. Also includes the plugins
  116. subdirectory. If the app has frozen rails, those gems also go here, under
  117. vendor/rails/. This directory is in the load path.