![]() |
|
Basic configuration
Remember to pay a Guinness to your Administrator (no, forget about BOFH), and to beg for a database.
So if you've followed my little advice, you should have the database name, user and password. Let's say the database name is "dabase", the username "daiouser" and the password "dapass". Then let's go back with these indication to our Unix user 'dacode'.
Well, we'll quickly forget these indication, but before it, we will write them in a daCode config file you have to create:
$ cat daCode/config.site <? $this->sql_host = "localhost"; $this->sql_user = "daiouser"; $this->sql_passwd = "dapass"; $this->sql_db = "dabase"; $this->baseurl = "http://exosmose.localdomain/~dacode/daroot"; $this->name = "Test daCode"; $this->titledefault = "Un forum, des forums"; ?> |
While you're at it, replace exosmose.localdomain by your own box:
$ uname -n exosmose.localdomain |
But for now, forget about baseurl. We'll see it later.