A light self-hosted alternative to Straw Poll.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Madeorsk f168daf94d Do not show HTML for items labels. 1 year ago
config General improvements. 2 years ago
src Reorganized poll formatting. 2 years ago
views Do not show HTML for items labels. 1 year ago
webroot Add poll question in page title. 2 years ago
.gitignore End of Home page, begin of Poll page and Configuration 2 years ago
API.md Updated README and API documentation. 2 years ago
LICENSE Initial commit 2 years ago
README.md Mention the new webroot directory in README. 2 years ago
composer.json Add required PHP extensions in composer.json 2 years 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.