JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update wfpl and templates
[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         If you've cloned a recent version with git, you should get it
12         automatically. Otherwise:
13
14         $ cd code
15         $ git clone git://gitorious.org/wfpl/wfpl.git
16
17 Apache settings:
18
19         There is .htaccess file with all the needed settings. You may need to
20         change apache's AllowOverride directive to allow these settings to be
21         changed in the .htaccess file.
22
23         Also, since mod_rewrite does not allow you to redirect to relative URLs,
24         you'll have to edit the rewrite rules if you don't install this at the
25         root directory for the [sub]domain.
26
27 Localization:
28
29         There are still several places that have the contractor's name hardcoded
30         to "Jason". This will be fixed at some point, but for now You'll have to
31         go through and fix it (unless you're name happens to be Jason.)
32
33 Database:
34         
35         create a mysql database, and these tables: people.sql tasks.sql
36         code/wfpl/examples/session.sql
37
38         Create the Contractor account:
39
40                 go to /logout in browser (this creates a session)
41
42                 in mysql do: insert into wfpl_session_data (name,value,session_id)
43                 values("auth_username", "1", (select id from wfpl_sessions limit 1));
44
45                 Then go to /people in your browser and create your account (first
46                 account created is administrator/contractor)
47         
48         Now you can create accounts for your customers.