Apprentidate is a web application to create events and polls (and even events with polls!)
A hosted version is accessible at date.apprentimag.fr.
Just install Docker and Docker Compose, then run:
$ make upNow, open localhost:8000 and start hacking!
In background, the Makefile calls docker-compose with the docker/docker-compose.yml
file. This file defines two services:
nginxwhich serves static files (from thepublicfolder) and pass PHP requests to the second servicephpwhich serves all the PHP requests
You can also take a look to the docker/nginx.conf file which defines how
Nginx talks with the php service.
If you want to put Apprentidate in production, you can reuse these files but
take care to change the environment variables in the docker-compose.yml file:
APP_ENVIRONMENTmust be set toproductionAPP_SECRET_KEYmust be changed to a random string