0% found this document useful (0 votes)
30 views1 page

File/Directory Purpose: Section 3.1.2

The document describes the standard directory structure and purpose of files in a Ruby on Rails application. The core app code including models, views, controllers, and helpers are contained in the app/ directory. Configuration files are in config/, database files in db/, documentation in doc/, libraries in lib/, logs in log/, publicly accessible files like error pages in public/, scripts in script/, tests in test/, temporary files in tmp/, third-party code and assets in vendor/, and descriptions, tasks, and requirements in the root directory.

Uploaded by

educeed
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

File/Directory Purpose: Section 3.1.2

The document describes the standard directory structure and purpose of files in a Ruby on Rails application. The core app code including models, views, controllers, and helpers are contained in the app/ directory. Configuration files are in config/, database files in db/, documentation in doc/, libraries in lib/, logs in log/, publicly accessible files like error pages in public/, scripts in script/, tests in test/, temporary files in tmp/, third-party code and assets in vendor/, and descriptions, tasks, and requirements in the root directory.

Uploaded by

educeed
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

File/Directory

Purpose Core application (app) code, including models, views, controllers, and helpers Rails Applications assets such as cascading style sheets (CSS), JavaScript files, and images JavaScript, CSS Application configuration Database files Documentation for the application Library modules Library assets such as cascading style sheets (CSS), JavaScript files, and images Application log files Data accessible to the public (e.g., web browsers), such as error pages A script for generating code, opening console sessions, or starting a local server Application tests (made obsolete by the spec/ directory in Section 3.1.2) Temporary files Third-party code such as plugins and gems Third-party assets such as cascading style sheets (CSS), JavaScript files, and images A brief description of the application Utility tasks available via the rake command Gem requirements for this app A list of gems used to ensure that all copies of the app use the same gem versions A configuration file for Rack middleware Patterns for files that should be ignored by Git

app/

app/assets

config/

db/ doc/ lib/ lib/assets log/ public/ script/rails test/ tmp/ vendor/ vendor/assets README.rdoc Rakefile Gemfile Gemfile.lock config.ru .gitignore

You might also like