You can read more about the application in the blog post. This is a Ruby version of the application, based on Sinatra and TorqueBox.
You need to use your Twitter OAuth credentials. You can generate required set of keys/secrets on the Twitter apps page. Create a new application (or use existing) and modify torquebox.rb
afterwards.
You need to prepare PostgreSQL database for the application.
$ su postgres -c psql psql (9.2.2) Type "help" for help. postgres=# CREATE USER poorsmatic WITH PASSWORD 'poorsmatic'; CREATE ROLE postgres=# CREATE DATABASE poorsmatic; CREATE DATABASE postgres=# GRANT ALL PRIVILEGES ON DATABASE poorsmatic to poorsmatic; GRANT postgres=# \q
Please make sure you have the appropriate authentication method enabled too. In /var/lib/pgsql/data/pg_hba.conf
make sure authentication is set to md5
, not ident
(Fedora's default).
In /var/lib/pgsql/data/postgresql.conf
please set max_prepared_transactions
to value greater than 0
. I think 10
should be sufficient.