nickberens360 / atomic-docs

Front end code documentation generator. http://atomicdocs.io/
GNU General Public License v3.0
781 stars 92 forks source link

Easy start with docker #37

Open iandroogmans opened 7 years ago

iandroogmans commented 7 years ago

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

nickberens360 commented 7 years ago

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

iandroogmans commented 7 years ago

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.

nickberens360 commented 7 years ago

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

nickberens360 commented 7 years ago

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

malithmcr commented 6 years ago

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

scarroll32 commented 6 years ago

Great PR - can it be merged?