Couscous
Couscous copied to clipboard
Windows compatibility issue
My english is bad! :)
This not running in Windows 10 - see a image!
Hi, could you have a look at the content of the G:\www\couscous/./generated
folder? It should contain HTML files, and more specifically a index.html
. I think Windows support was fixed in #115, but maybe something is still missing… I'm wondering if the forward slashes (/
instead of \
) can create an issue.
Ok. I'll test it! Thank you.
My Windows (w10) accepts both "" to "/". I tested directly on a PHP script. I believe that this is another problem related to the internal PHP server.
I will copy the GitHub (clone) and test here on my machine.
Sorry for my English... (google translate :P)
No problem. Please list what's inside the directory I mentioned: is there an index.html? Try copying those generated file into a web server, or try running php -S 127.0.0.1:8000
into that folder manually.
No file index.html !!
Darn, that indeed sounds like a Windows compatibility issue. I can't really help much on my end :/
Ok! Windows :(
I'll jump in, as I've worked with Windows problems. @pedra What's does the directory with the source files look like? I guess for you it would be G:\www\couscous
.
My folder looks after command: "php couscous.phar preview" (attached - rename ".pdf" -> ".zip") couscous.pdf
@pedra can you tell us if this is still relevant with latest master
?
Hi, I don't know whether this would help. I still met this problem when i started try Couscous today.
I tried to add the sources code from CouscousPHP/Template-Light into my project root directory.
And in http://localhost:8000 "vendor/bin/couscous preview worked just like the screenshot showed. So i guessed it maybe was the fetching problem or something? Sorry, i'm not familiar with this. I'm using it on Windows 10; and yes, this issue is still the problem.
I'm using Couscous on W10 without any problem.
theme files shouldn't be in root directory - look at my example http://screencloud.net/v/AicXt - and in couscouse.yml:
template:
directory: theme
# Name of the index file (default is "README.md")
index: index.md```