Directory Structure
Directory Structure
The table below outlines the directory structure for Appcelerator Rails projects.
| Rakefile | the project Rakefile |
| ./app | contains the standard application directories for a Ruby on Rails project. It also includes Appcelerator-specific Ruby files for the Appcelerator Ruby SOA Integration Point. |
| ./app/services | contains all your Appcelerator services |
| ./app/services/test_service.rb | Sample Ruby service - used by servicetester.html |
| ./config | contains the standard files for a Ruby on Rails project. This directory also contains the appcelerator.config file, which tracks the versions of your Appcelerator software components |
| ./db | contains the standard files for a Ruby on Rails project |
| ./doc | contains a README for generating documentation |
| ./lib | standard Ruby on Rails directory - contains an empty tasks directory |
| ./log | standard Ruby on Rails directory for log files |
| ./plugins | contains Appcelerator plugins - empty by default |
| ./public | contains all user interface files |
| ./public/404.html | default HTML file for 404 response codes |
| ./public/422.html | default HTML file for 422 response codes |
| ./public/500.html | default HTML file for 500 response codes |
| ./public/appcelerator.xml | configuration file used by Appcelerator RIAs |
| ./public/dispatch*.* | standard dispatch files included in a Ruby on Rails project |
| ./public/images | contains your application images and icons |
| ./public/index.html | the default HTML file bundled with your project |
| ./public/javascripts | contains your application Javascript files, including the appcelerator.js file |
| ./public/robots.txt | standard file included in a Ruby on Rails project |
| ./public/servicetester.html | a demo HTML page that works in conjunction with the bundled test_service.rb |
| ./public/stylesheets | contains your application CSS files |
| ./public/swf | contains the Flash files for our charting widget |
| ./public/upgrade_cookies.html | default page that is served if user does not have "cookies" enabled in their browser |
| ./public/upgrade_script.html | default page that is served if user does not have "javascript" enabled in their browser |
| ./public/widgets | contains Appcelerator widgets |
| ./script | contains the standard files for a Ruby on Rails project |
| ./test | contains the standard files for a Ruby on Rails project |
| ./tmp | a temporary directory used by Appcelerator |
| ./vendor | contains the standard files for a Ruby on Rails project |