No description or website provided.
C C++ Other
Pull request Compare This branch is 22 commits ahead of zokier:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
dailybot
data
include
src
.gitignore
Makefile
README
TODO
TODO.immediate
configure

README

dependencies:
zeromq python bindings
PostgreSQL
libpq
gettext
pgcrypto module for PostgreSQL
ncurses

	### postgreSQL installation ###

# yum group install "PostgreSQL Database"
# yum install postrgesql-contrib
...
# postgresql-setup initdb
Initializing database ... OK
# service postgresql start

	### create the database user ###

# sudo -u postgres createuser todd
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n

	### create the database ###
# sudo -u postgres createdb -O todd todd
# sudo -u postgres psql todd
psql (9.1.3)
Type "help" for help.

	### enable the cryptocraphic extension as the postgresql superuser ###
todd=# create extension pgcrypto;
CREATE EXTENSION
todd=# \q
# vi /var/lib/pgsql/data/pg_hba.conf
...
local sameuser todd trust
...
# service postgresql restart
$ psql todd todd
psql (9.1.3)
Type "help" for help.


        ### FAQ ###
error: Postgres init error: ERROR:  function crypt(text, text) does not exist
solution: enable pgcrypto