cotech / website

The Cooperative Technologists WordPress website
https://www.coops.tech/
GNU General Public License v3.0
24 stars 5 forks source link

Installing and running the website locally via docker-compose on the command-line on OSX #48

Closed floehopper closed 6 years ago

floehopper commented 7 years ago

I didn't want to install the Docker desktop app and managed to get the site running locally using the following commands. I don't really know what I'm doing, so I might well have done something foolish, but I wonder whether it would be useful to include some instructions along these lines to the README?

$ brew install docker-compose
$ docker-machine create default
$ docker-machine start default
$ docker-machine env default
$ eval "$(docker-machine env default)"
$ docker-compose up -d
$ docker-machine ssh default -L 0.0.0.0:18080:localhost:18080

Notes

Please let me know if I've misunderstood any of the above.

floehopper commented 6 years ago

It would be good to have some answers to my questions above, but I'm now trying to setup the development environment from scratch using Docker for Mac and have run into a more fundamental problem, so I'm going to close this one.