X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=INSTALL.pgsql;h=03a3491ac2544892e1ecca489a9d00f53d1de950;hb=0a03234c837cefef8cd59c3f078e8a1732ae35c9;hp=ecab8bcc0c769cfee90fb88e15e4ccafeff5610f;hpb=c8d38087b86e0d6e1eb8142cfb0437c700ad49b8;p=infobot.git diff --git a/INSTALL.pgsql b/INSTALL.pgsql index ecab8bc..03a3491 100644 --- a/INSTALL.pgsql +++ b/INSTALL.pgsql @@ -5,25 +5,25 @@ Method of installation. - Debian: (apt-get install libpg-perl) -As of now, blootbot has full pgsql support. It seems to be working 100%, but it +As of now, infobot has full pgsql support. It seems to be working 100%, but it assumes that you have precreated the database and user for now. As long as you -already created the database and user and stored this info in the blootbot.config, -then the tables will automatically be created on startup. Until I get setup.pl -fixed, run the following commands as root (or postgres if root doesnt have -permission to create users/db's): +already created the database and user and stored this info in the +infobot.config, then the tables will automatically be created on startup. Until +I get setup.pl fixed, run the following commands as root (or postgres if root +doesnt have permission to create users/db's): > createuser --no-adduser --no-createdb --pwprompt --encrypted > createdb --owner= [] Dont forget to replace and so forth with actual values you intend to use, and dont include the <>'s ;) If you run these commands, you should get a user -with an encrypted password that cannot create new db's or user's (as it should be!), -and the user will own the newly created database . Congrats! +with an encrypted password that cannot create new db's or user's (as it should +be!), and the user will own the newly created database . Congrats! -If everything went fine, you should have everything blootbot needs to use pgsql. +If everything went fine, you should have everything infobot needs to use pgsql. Next simply cd to the base directory you installed the bot to and type: -./blootbot +./infobot Thats it! Everything the bot needs should be automatically created when it loads