This allows the project to be built and run as a Docker container. To build the container:
$ docker build -t generatedata .
Then run with a linked MySQL container:
$ docker run -d --name mysql -e MYSQL_DATABASE=gd -e MYSQL_USER=gd -e MYSQL_PASSWORD=d0ck3ry0 -e MYSQL_ROOT_PASSWORD=d0ck3ry0 mysql
$ docker run -d --name generatedata -p 8888:8888 --link mysql:mysql generatedata
You can then get to the web interface at 0.0.0.0:8888 and set database hostname to mysql and the appropriate credentials set by the MySQL container environment variables. This can be a great alternative to a virtual machine when if a user already has Docker available as a host.
Dockerfile to build and use as a Docker container
Thanks, @andyshinn! I really must spend some time to learn about Docker.
I'll leave this open in the meantime, but there's also this repo for a Docker-packaged generatedata:
I've linked to this PR on the main README.