A light self-hosted alternative to Straw Poll.
Go to file
Madeorsk f168daf94d Do not show HTML for items labels. 2019-05-04 11:53:21 +02:00
config General improvements. 2018-08-16 12:56:53 +02:00
src Reorganized poll formatting. 2018-08-26 11:11:48 +02:00
views Do not show HTML for items labels. 2019-05-04 11:53:21 +02:00
webroot Add poll question in page title. 2019-02-24 14:52:23 +01:00
.gitignore End of Home page, begin of Poll page and Configuration 2018-08-12 19:29:13 +02:00
API.md Updated README and API documentation. 2018-08-16 14:16:50 +02:00
LICENSE Initial commit 2018-08-12 12:20:32 +00:00
README.md Mention the new webroot directory in README. 2019-02-24 13:55:35 +01:00
composer.json Add required PHP extensions in composer.json 2019-02-24 13:31:51 +01:00

README.md

PollVerlaine

A light self-hosted alternative to Straw Poll.

Installation

Clone the repository:

mkdir db && touch db/polls.db && composer install

Enable the dba extension in php.ini:

extension=dba

Configuration

Rename config/app.example.php to config/app.php.

Configure app_url to the root url of Poll Verlaine.

Sample configuration for nginx:

root /path/to/PollVerlaine/webroot; # The webroot directory contains all publicly exposed files.
location /
{
    try_files $uri /index.php;
}

API

See API.md.