mirror of
https://git.cant.at/Madeorsk/PollVerlaine
synced 2024-11-27 09:54:32 +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).
|