sim0nx/voteX — pull request #1 by willwo13 (2012-09-26 11:30:54+00:00)
Title: Sim0n

successfully configured votex to use postgres.

# install postgres

follow the instruction of your OS and install postgres

http://wiki.postgresql.org/wiki/Detailed_installation_guides
https://wiki.archlinux.org/index.php/PostgreSQL

# configure postgres

```bash
$ su postgres
$ createuser votex
$ createdb votex
```

# import schema

```sh
john$ cd /docs
john$ su postgres
postgres$ psql -f postgres_votex.sql votex
```

# configure votex

Configure postgres in your config.ini

```
beaker.session.url = postgres://:@localhost/
sqlalchemy.url = postgres://:@localhost/
```