atomic-docs icon indicating copy to clipboard operation
atomic-docs copied to clipboard

Easy start with docker

Open iandroogmans opened this issue 9 years ago • 6 comments

Let people who don't know much about local server infrastructure get started fast and easy with the php-apache docker image. Download and install docker runtime from www.docker.com.

In terminal: $ cd /local/your/project $ docker-compose up -d

-> Surf to localhost:8002

iandroogmans avatar Oct 05 '16 12:10 iandroogmans

Hey, great idea. I'll review it and add to documentation. Thanks.

nickberens360 avatar Oct 06 '16 12:10 nickberens360

Nick I'm adding an automated script to compile the sass library because it's not included right now. I don't know what your vision is but it's possible to include sass, less & javascript compilers in the docker image to provide simple options for the users.

iandroogmans avatar Oct 06 '16 12:10 iandroogmans

@iandroogmans I'd like it to be as easy to set up as possible, so any automation would be great.

nickberens360 avatar Oct 06 '16 12:10 nickberens360

@iandroogmans I've been having difficulties installing docker. I'm not sure how this would be any easier than installing MAMP or XAMPP??

nickberens360 avatar Oct 07 '16 21:10 nickberens360

docker run -d -p 8080:80 --name atomic-docs -v “$PWD”:/var/www/html php:7.0-apache

malithmcr avatar Jan 19 '18 12:01 malithmcr

Great PR - can it be merged?

scarroll32 avatar May 23 '18 21:05 scarroll32