1
0
mirror of https://git.cant.at/Madeorsk/PollVerlaine synced 2024-11-25 02:24:31 +01:00
PollVerlaine/README.md

35 lines
575 B
Markdown
Raw Normal View History

2018-08-12 14:20:32 +02:00
# PollVerlaine
2018-08-16 14:24:28 +02:00
A light self-hosted alternative to Straw Poll.
## Installation
2018-08-16 14:16:50 +02:00
Clone the repository:
```sh
mkdir db && touch db/polls.db && composer install
```
2018-08-16 14:16:50 +02:00
Enable the `dba` extension in `php.ini`:
```
extension=dba
```
2018-08-16 14:16:50 +02:00
### Configuration
Rename `config/app.example.php` to `config/app.php`.
2018-08-16 14:16:50 +02:00
Configure `app_url` to the root url of Poll Verlaine.
Sample configuration for nginx:
```nginx
root /path/to/PollVerlaine/webroot; # The webroot directory contains all publicly exposed files.
location /
{
2018-08-16 14:16:50 +02:00
try_files $uri /index.php;
}
```
## API
2018-08-13 13:50:31 +02:00
2018-08-16 14:16:50 +02:00
See [API.md](API.md).