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.
4 years ago
config General improvements. 5 years ago
src Reorganized poll formatting. 5 years ago
views Do not show HTML for items labels. 4 years ago
webroot Add poll question in page title. 4 years ago
.gitignore End of Home page, begin of Poll page and Configuration 5 years ago
API.md Updated README and API documentation. 5 years ago
LICENSE Initial commit 5 years ago
README.md Mention the new webroot directory in README. 4 years ago
composer.json Add required PHP extensions in composer.json 4 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.