1
0
mirror of https://git.cant.at/Madeorsk/PollVerlaine synced 2024-11-24 22:54:32 +01:00
A light self-hosted alternative to Straw Poll.
Go to file
2019-02-24 14:52:23 +01: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 Add poll question in page title. 2019-02-24 14:52:23 +01: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
composer.json Add required PHP extensions in composer.json 2019-02-24 13:31:51 +01: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

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.