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.
Madeorsk
73d932173a
* 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. |
||
---|---|---|
config | ||
src | ||
views | ||
webroot | ||
.gitignore | ||
API.md | ||
composer.json | ||
LICENSE | ||
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.