gecko-dev/webtools/uninstall_survey
wclouser%mozilla.com 4c467aea12 link/wording tweaks 2006-07-23 05:12:25 +00:00
..
config - got rid of some extra routes 2006-06-29 21:37:53 +00:00
controllers the comments pages are now aware of question sets. It works right now, but it's not 2006-07-04 18:07:34 +00:00
models hardcoding 2006-07-10 23:53:35 +00:00
perl altered the perl for the new db structure 2006-06-29 21:38:28 +00:00
vendors/csv rewrote the csv library into an object 2006-06-29 21:42:59 +00:00
views link/wording tweaks 2006-07-23 05:12:25 +00:00
webroot added a note about information being public 2006-07-20 16:34:16 +00:00
.htaccess added a .csv type to the .htaccess 2006-07-11 01:35:10 +00:00
README added note to symlink vendor libraries 2006-05-31 00:27:50 +00:00
app_controller.php
app_model.php
index.php

README

Mozilla Firefox Uninstall Survey
================================


How To Install
--------------

Assumptions:
    1) You've got a working database with the appropriate schema
    2) You've got cake setup on your server already.  The code you're looking at now
    is just what is in the /app/ directory - everything else will have to be on your
    server already.

Steps:

1) Copy config/database.php.default to config/database.php and fill in your database
values (if you're only doing production, just fill in the production area).

2) Edit /webroot/index.php.
        Define ROOT:
            If you're installing this in your home directory, ROOT should be:

                DS.'home'.DS.'username'.DS.'public_html'
            
        Define APP_DIR:
            ROOT is the parent directory of the app, this is the actual app.
            Continuing the example above, if people are going to go to:
            http://server.com/~username/survey/ to get to the app, APP_DIR should be:

                survey
        
       Define CAKE_CORE_INCLUDE_PATH:
            This is the path to the actual cake install on your server.  For example:
            
                DS.'usr'.DS.'local'.DS.'lib'.DS.'php'.DS.'cake'

3) Edit /webroot/.htaccess.  Add a RewriteBase line below the line that says 'RewriteEngine On'.  
For our example, we would add the line:

                RewriteBase /~username/survey

4) Edit /.htaccess.  Add the same RewriteBase line from step 3 directly below the 
'RewriteEngine On' line.

5) Go to the webroot/js/ directory and run the following two commands:
    ln -s plotkit-0.8/PlotKit/ plotkit
    ln -s MochiKit-1.3.1/lib/MochiKit/ mochikit




Questions?  Email clouserw@mozilla.com