blackus3r / post-worktime-logger

Post Worktime Logger is a WordPress plugin that allows you to track the time you worked on each post.
https://wordpress.org/plugins/post-worktime-logger/
GNU General Public License v3.0
7 stars 8 forks source link

add docker dev setup #64

Closed selamanse closed 7 years ago

selamanse commented 8 years ago

add a dockerfile with Wordpress 4.6.1 on apache and a docker-compose.yml setup with linked mysql database.

selamanse commented 8 years ago

see this issue: #63.

this is just an idea for faster development.

blackus3r commented 8 years ago

Can you explain me, how does this works?

blackus3r commented 8 years ago

Wenn du willst, kannst du es auch schnell auf Deutsch erklären :-D

selamanse commented 8 years ago

:) klar gerne - ein bisschen Doku hatte ich bereits im readme eingefügt. Prinzipiell brauchst du nur eine dockerfähige Umgebung, wechselst in das repo und rufst folgenden Befehl auf:

docker-compose up -d

blackus3r commented 8 years ago

Ja mir ist das mit diesen festen Pfaden in /usr/... nicht bewusst... muss mich bei Docker mal einlesen, hatte bisher nie damit zu tun.

blackus3r commented 7 years ago

@selamanse I',m not sure, but how does this work on a windows system? Because you are using /usr/..../ paths

selamanse commented 7 years ago

Hi, docker doesn't natively run on windows but linux. you will need a VM like docker-machine to run it on windows systems. I recommend docker-toolbox (it ships all things you need to get it running).