aboutsummaryrefslogtreecommitdiffstats
path: root/devel/truc/files/pkg-message.in
blob: c6ee25682f6b6a833409c9ff4d28a0133a142af4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

%%PKGNAME%% has been installed into:

    %%PREFIX%%/www/truc

If you use MySQL as your database go to the directory
%%PREFIX%%/www/truc and do the following to create a
demo database:

  mysql -u [username] -p [db_name] < database.sql

To make truc available through your web site, I suggest
that you add something like the following to httpd.conf:

    Alias /truc/ "%%PREFIX%%/www/truc"

    <Directory "%%PREFIX%%/www/truc/">
        Options none
        AllowOverride Limit

        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1 .example.com

        <IfModule dir_module>
            DirectoryIndex index.php
        </IfModule>
    </Directory>

Point your browser to http://localhost/truc/, follow the
instructions to create a config file and save it into
truc's root directory.