1
0
mirror of https://git.cant.at/Madeorsk/PollVerlaine synced 2024-11-01 08:24:31 +01:00
A light self-hosted alternative to Straw Poll.
Go to file
Madeorsk 73d932173a Moved index and static files in a webroot directory.
* Security improvement: index.php and static files are now in a webroot directory. The webserver should point to this directory instead of the one containing all the code and the configuration.
2019-02-24 13:50:50 +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 Fixed division by zero. 2018-08-26 12:06:30 +02:00
webroot Moved index and static files in a webroot directory. 2019-02-24 13:50:50 +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 Update README 2018-08-16 14:26:05 +02: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:

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

API

See API.md.