Closed icydee closed 8 years ago
Following the instructions as given, I have a few comments:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
If I instead run the commands shown when I start the container, instead of what's in the setup_docker.txt, I get mysql running, and can continue. So I'd suggest the Initializing the database
section mention that you still have to run the docker_client_start script before talking about the docker_exec.sh script. I'm so busy following the instructions that I didn't notice the console instructions as well :)Also, the captcha generation fails:
Can't locate GD/SecurityImage.pm in @INC (@INC contains: /data/Lacuna-Server/lib /data/apps/lib/perl5/site_perl/5.12.1/x86_64-linux /data/apps/lib/perl5/site_perl/5.12.1 /data/apps/lib/perl5/5.12.1/x86_64-linux /data/apps/lib/perl5/5.12.1 .) at generate_captcha.pl line 5.
Looks like the docker image is missing something :)
Thanks for the point about he tle-mysql-data container. It does not actually need to run, it just has to be present! (I will improve the documentation).
Thanks also for the pointer to the 'cat' function. My shell scripting needs work!
It's probably best to ignore this pull request now, I am working on another approach that has a better separation of concerns, but the fact that you were able to run the scripts in a docker container is validation of the approach!
I will try to incorporate your points in the next version.
let's not merge this pull request. Better one on the way...
Scripts to build a docker image, and to run the image on any system which has already installed the docker system (linux, OS X, or Windows).
This should speed up the time to set up a development environment and hopefully make it easier to deploy.