ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
176 stars 7 forks source link

New user trying docker build without success #100

Closed mannp closed 5 years ago

mannp commented 5 years ago

Bug Short Description:

Spent a good part of the day trying to get the docker build working without success.

Using docker I am getting issues with nim nor git in the searchable path and no nimwc executable created, so web admin and site not accessible.

Wondered if it needed an update or I was missing something?

Is the docker build an out of the box experience or still needs the install actions to be completed to work?

Thanks in advance

Version

    5.0.0
juancarlospaco commented 5 years ago

The Dockerfile and Vagrantfile are kinda templates to get you started, so probably customizing it for your use case and configurations on top is needed.

Having said that, we want to keep improving, to the point it will be more useful out of the box, but I can not guarantee it will always work without changes, at least no as it is now.

This issue can be open so we track it here.

mannp commented 5 years ago

I see okay thanks.

I am all for configuring for my use case and tweaking for what I need, I guess I was hoping for a minimal scenario that I could change.

My first time with nim so also a challenge :)

Would it be possible for someone who knows nim and nimwc to take the docker for a spin and point me in the direction of the likely issues please?

I tried compiling nimwc inside the docker and it failed on a missing file around firejail.

Not sure what and wondered if I just disabled that to give nimwc a try....if that would work?

juancarlospaco commented 5 years ago

Yes, theres a Videotutorial from zero step-by-step that includes compiling without Firejail. That should work inside and outside Docker. :slightly_smiling_face:

mannp commented 5 years ago

Okay thanks, will try.

One obvious issue is /root/nim_websitecreator/nimwc.nim actually appears to be /nim_websitecreator/nimwc.nim

juancarlospaco commented 5 years ago

Fixed by https://github.com/ThomasTJdev/nim_websitecreator/pull/101