dauxio / daux.io

Daux.io is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way.
https://daux.io/
MIT License
794 stars 196 forks source link

impossible to load Daux using docker container #145

Closed KelvySilva closed 4 years ago

KelvySilva commented 5 years ago

Hello!

1st error

Fatal error: Uncaught Exception: Impossible to load Daux, missing vendor/ in […]/daux/libs/bootstrap.php:14 Stack trace: #0 […]/daux/libs/bootstrap.php(17): loadApp() #1 […]/daux/index.php(78): require_once('/home/torstosau...') #2 {main} thrown in […]/daux/libs/bootstrap.php on line 14

2nd

Error 'cause mbstring and dom php extensions is not enabled

3th

unexpected "?" on MimeTypes.php line 129 'cause php version is 7.0 and "?string" return type not recognized.

So, this is it.

onigoetz commented 5 years ago

Hello, can you please tell me what command you are using to run the docker container ?

KelvySilva commented 5 years ago

Of course yes! It's that:

docker run --rm -it -w /build -v "$PWD":/build -u "$(id -u):$(id -g)" daux/daux.io daux

I find it on https://hub.docker.com/r/daux/daux.io

onigoetz commented 4 years ago

Hello, that's curious that you get the first message with require_once('/home/torstosau...') as if it was loading PHP files from your environment. do you have a Processor that is configured?

I tried to run this exact command on the latest daux version and got no error (when running generate)

Is it all errors you see in the console after running the container ?

onigoetz commented 4 years ago

Closed because of no activity