Sha256: e8e539e64c2752447d8b9db01b6a9d8e3707f2629b59d669f12fffbb99c50329
Contents?: true
Size: 1.51 KB
Versions: 42
Compression:
Stored size: 1.51 KB
Contents
== Appendix B: Terminology == [[application_root]] === Application root === The root directory of an application that's served by Phusion Passenger. In case of Ruby on Rails applications, this is the directory that contains 'Rakefile', 'app/', 'config/', 'public/', etc. In other words, the directory pointed to by `RAILS_ROOT`. For example, take the following directory structure: ----------------------------------------- /apps/foo/ <------ This is the Rails application's application root! | +- app/ | | | +- controllers/ | | | +- models/ | | | +- views/ | +- config/ | | | +- environment.rb | | | +- ... | +- public/ | | | +- ... | +- ... ----------------------------------------- In case of Rack applications, this is the directory that contains 'config.ru'. For example, take the following directory structure: ----------------------------------------- /apps/bar/ <----- This is the Rack application's application root! | +- public/ | | | +- ... | +- config.ru | +- ... ----------------------------------------- In case of Python (WSGI) applications, this is the directory that contains 'passenger_wsgi.py'. For example, take the following directory structure: ----------------------------------------- /apps/baz/ <----- This is the WSGI application's application root! | +- public/ | | | +- ... | +- passenger_wsgi.py | +- ... -----------------------------------------
Version data entries
42 entries across 42 versions & 7 rubygems