phpmx / phpmxbot

A Slack bot for the PHP Mexico Community.
3 stars 7 forks source link

Improved dev setup #9

Closed eruizdechavez closed 3 years ago

eruizdechavez commented 3 years ago

Having to manually create a bunch of files is always a pain in the back, so I decided to create a bootstrap script that checks for the required config files and if something is missing it is created from the example files. Another nicety of this script is that local PHP is no longer required to setup by running DB bootstrap and composer install with docker.

I also added a .env file for docker-compose to store the ngrok auth token (if any) to allow persistent tunnels.