JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed css so prioritize links don't make a horizontal scroll bar
[contractor-progress.git] / INSTALL
1 INSTALLING
2
3 System Requirements:
4
5         * PHP 5
6         * MySQL
7         * apache
8
9 You'll also need a recent version of wfpl in code/wfpl:
10
11         $ cd code
12         $ git clone git://github.com/JasonWoof/wfpl.git
13
14 Apache settings:
15
16         There is .htaccess file with all the needed settings. You may need to
17         change apache's AllowOverride directive to allow these settings to be
18         changed in the .htaccessfile.
19
20         Also, since mod_rewrite does not allow you to redirect to relative URLs,
21         you'll have to edit the rewrite rules if you don't install this at the
22         root directory for the [sub]domain.
23
24 Localization:
25
26         There are still several places that have the contractor's name hardcoded
27         to "Jason". This will be fixed at some point, but for now You'll have to
28         go through and fix it (unless you're name happens to be Jason.)
29
30 Database:
31         
32         create a mysql database, and these tables: people.sql tasks.sql
33         code/wfpl/examples/session.sql
34
35         Create the Contractor account:
36                 go to /logout in browser (this creates a session)
37                 in mysql do: insert into wfpl_session_data (name,value,session_id) values("auth_username", "1", (select id from wfpl_sessions limit 1));
38                 Then go to /people in your browser and create your account (first account created is administrator/contractor)
39         
40         Now you can create accounts for your customers, and/or create tasks for yourself.