mirror of
https://git.cant.at/Madeorsk/PollVerlaine
synced 2024-11-25 00:34:33 +01:00
34 lines
478 B
Markdown
34 lines
478 B
Markdown
# PollVerlaine
|
|
|
|
A light self-hosted alternative to Straw Poll.
|
|
|
|
## Installation
|
|
|
|
Clone the repository:
|
|
```sh
|
|
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:
|
|
```nginx
|
|
location /
|
|
{
|
|
try_files $uri /index.php;
|
|
}
|
|
```
|
|
|
|
## API
|
|
|
|
See [API.md](API.md).
|