A light self-hosted alternative to Straw Poll.
Madeorsk א 4c3241349e Add poll question in page title. 1 month ago
config General improvements. 8 months ago
src Reorganized poll formatting. 7 months ago
views Add poll question in page title. 1 month ago
webroot Add poll question in page title. 1 month ago
.gitignore End of Home page, begin of Poll page and Configuration 8 months ago
API.md Updated README and API documentation. 8 months ago
LICENSE Initial commit 8 months ago
README.md Mention the new webroot directory in README. 1 month ago
composer.json Add required PHP extensions in composer.json 1 month ago

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.