Skip to content
Browse files

Start working on the server side code documentation. It was about time.

  • Loading branch information...
1 parent 9f3ebeb commit e1748220d18c724e9ae6f938858dc073df3f5a94 Daniel Martin committed
Showing with 77 additions and 2 deletions.
  1. +77 −2 doc/README_FOR_APP
View
79 doc/README_FOR_APP
@@ -1,2 +1,77 @@
-Use this README file to introduce your application and point to useful places in the API for learning more.
-Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
+== Welcome to the Dradis Framework
+
+Dradis is an open source framework to enable effective information sharing.
+It is based on the {Ruby on Rails}[http://rubyonrails.org] web-framework.
+
+Dradis is a self-contained web application that provides a centralised
+repository of information to keep track of what has been done so far, and what
+is still ahead.
+
+Features include:
+ * Easy report generation.
+ * Support for attachments.
+ * Integration with existing systems and tools through server plugins.
+ * Platform independent.
+
+Our site: http://dradisframework.org
+
+== Description of Contents
+
+app
+ Holds all the code that's specific to this particular application.
+
+app/controllers
+ Holds controllers that should be named like weblogs_controller.rb for
+ automated URL mapping. All controllers should descend from ApplicationController
+ which itself descends from ActionController::Base.
+
+app/models
+ Holds models that should be named like post.rb.
+ Most models will descend from ActiveRecord::Base.
+
+app/views
+ Holds the template files for the view that should be named like
+ weblogs/index.erb for the WeblogsController#index action. All views use eRuby
+ syntax.
+
+app/views/layouts
+ Holds the template files for layouts to be used with views. This models the common
+ header/footer method of wrapping views. In your views, define a layout using the
+ <tt>layout :default</tt> and create a file named default.erb. Inside default.erb,
+ call <% yield %> to render the view using this layout.
+
+app/helpers
+ Holds view helpers that should be named like weblogs_helper.rb. These are generated
+ for you automatically when using script/generate for controllers. Helpers can be used to
+ wrap functionality for your views into methods.
+
+config
+ Configuration files for the Rails environment, the routing map, the database, and other dependencies.
+
+db
+ Contains the database schema in schema.rb. db/migrate contains all
+ the sequence of Migrations for your schema.
+
+doc
+ This directory is where your application documentation will be stored when generated
+ using <tt>rake doc:app</tt>
+
+lib
+ Application specific libraries. Basically, any kind of custom code that doesn't
+ belong under controllers, models, or helpers. This directory is in the load path.
+
+public
+ The directory available for the web server. Contains subdirectories for images, stylesheets,
+ and javascripts. Also contains the dispatchers and the default HTML files. This should be
+ set as the DOCUMENT_ROOT of your web server.
+
+script
+ Helper scripts for automation and generation.
+
+test
+ Unit and functional tests along with fixtures. When using the script/generate scripts, template
+ test files will be generated for you and placed in this directory.
+
+vendor
+ External libraries that the application depends on. Also includes the plugins subdirectory.
+ This directory is in the load path.

0 comments on commit e174822

Please sign in to comment.
Something went wrong with that request. Please try again.