rochacbruno-archive / quokka_ng

:hamster: WIP - QuokkaCMS New Generation - Refactor from scratch using TinyDB
Other
73 stars 19 forks source link

Add Dockerfile #79

Closed dhoeric closed 7 years ago

dhoeric commented 7 years ago

For issue #65 Actually not that familiar with the quokka_ng itself, therefore just right now hardcode port 5000 when runserver.

Create a tmp directory

mkdir /tmp/quokka1

Init and run project

docker run --rm -it -p 5000:5000 -v /tmp/quokka1:/work dhoeric/quokka init demo --theme=bootstrap3
docker run --rm -it -p 5000:5000 -v /tmp/quokka1/demo:/work dhoeric/quokka

Go http://localhost:5000

rochacbruno commented 7 years ago

Cool!