A light self-hosted alternative to Straw Poll.
Madeorsk א 1caad26fb9 Fixed division by zero. 3 months ago
config General improvements. 4 months ago
src Reorganized poll formatting. 3 months ago
static Subdirectory handling. 3 months ago
views Fixed division by zero. 3 months ago
.gitignore End of Home page, begin of Poll page and Configuration 4 months ago
API.md Updated README and API documentation. 4 months ago
LICENSE Initial commit 4 months ago
README.md Update README 4 months ago
composer.json Betterize the README, Set the Good email and some format 4 months ago
index.php Subdirectory handling. 3 months 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:

location /
{
    try_files $uri /index.php;
}

API

See API.md.