Pentabarf

From Wiki

Jump to: navigation, search

Pentabarf is used as the new conference software for debconf7. The upstream wiki provides some generic installation instructions. Debian and Debconf specific instruction are below. Run as root:

apt-get install postgresql-8.1 rails libxmpp4r-ruby libopenssl-ruby librmagick-ruby

As the postgres user:

createuser -P -S -D debconf
createdb -O debconf -E UNICODE debconf
createlang plpgsql debconf

As an unprivileged user:

svn co https://penta.debconf.org/svn/penta/trunk debconf
cd debconf
psql -U debconf -h localhost debconf
...
\cd sql
\i tables.sql
\i tables_logging.sql
\i views-localization.sql
\i views.sql
\i trigger.sql
\i activate_trigger.sql
\i types.sql
\i functions.sql
\cd data
\i import.sql
\cd ..
\i pentabarf-user.sql
\i debconf.sql
\q

Change into the pentabarf directory, copy config/database.yml.template to config/database.yml and config/mail.yml.template to config/mail.yml, edit both .yml files, and run:

ln -s /usr/share/rails vendor/
script/server

Disabling SSL in script/server before starting it is recommended at least for the first tests. Open the browser at http(s)://localhost:2342 and login with pentabarf/pentabarf.

Personal tools