|
by creativepig 07/21/2003, 9:21pm PDT |
|
 |
|
 |
|
Entropy Stew wrote:
Make sure apache and postgres are both started. You should be logged in as root.
Unpacking
1. Copy pointy-whatever-ver.tgz to the /home/httpd (or wherever your webserver's home dir is)
2. "tar zxvf pointy-whatever-ver.tgz"
Setting up the web symlinks
1. "ln -s pointy-whatever-ver-dir pointy"
2. "cd htdocs"
3. "ln -s /home/httpd/pointy/pointy.php pointy.php"
4. "ln -s /home/httpd/pointy/forum-purple.css forum-purple.css"
Setting up the db
1. "su -l postgres" (substitute your postgresql db user name is here if it's different)
2. "createdb caltrops"
3. "psql -d caltrops" connect to the db via the psql command line
4. (you are now in the psql command line) "\i /home/httpd/pointy/install/createTables.sql"
5. Watch the pretty scrolling text
6. "\q" to exit psql
7. "exit" to un-su yourself
Setting up Pointy
1. "cd /home/httpd/pointy"
2. Open pointy.php in an editor.You will see:
// Set this to the Pointy install dir
$pointyHome = '/home/httpd/pointy';
at the top. Change pointyHome to the dir you installed it in (duh). Save & exit.
It should theoretically work at this point (browse to http://localhost/pointy.php). And by "work" I mean throw an error about not being able to find any forums. Let's add some!!@!@121111
Adding a sid and a forum
1. "su - postgres"
2. "psql -d caltrops"
3. Type the following:
insert into sites (sid, site_name) values ('1', 'Bastard Fake Caltrops');
4. ...and the following:
insert into forums (sid, forum_name, num_posts, forum_sticky, forum_last_updated) values ('1', 'Wookie Hairdressers\' Union #2018', '0', 'true', now());
You will have a wookie hairdresser's forum in the attic (sticky forum top part). Change true to false in that example, and you'll get a basement forum. Pointy needs at least one sticky attic forum to work. Notice the backslash in front of the single quote used to escape it.
And finally, there are a couple changes that need to be made to php.ini:
PHP configuration
1. "register_globals = On"
2. "magic_quotes_gpc = On"
I fixed the symlinks (ES had them backward, causing me all sorts of confusion in my copy/paste laziness) and added some stuff that he worked through when I went crying WAAAH DOESN'T WORK to him.
cp |
|
 |
|
 |
|
|
|