-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows support #5
Comments
Update: This is usable if you copy all assets from within the app/ folder to your drupal-web-dir folder (default web/ but I set mine to be htdocs/) I found a script here: So in my root folder, I created a copyassets.php file containing:
and after my composer install was finished (and I have app/ and htdocs/ folders), i ran: and then everything seems to work. (theme/layout is now ok) But then I guess this will need to run after every new module install, every module update, every theme adjustment, ... so if you have a better method, please do enlight me. Also: by default clean urls are not working. You need to copy app/.htaccess to htdocs/.htaccess |
Hi, You are running this on Windows, right? I noticed the path Could you post here how your environment is set up?
Thanks |
Hi, thank you for your reply. OS: Windows 10 64bit This is my composer file:
|
I retested this in debian linux (via vagrant) and also had en error, I will open a separate issue for this (so this can remain a windows issue) |
Thanks, I'll test this on a Windows environment. I would say that this issue is not a bug, so I flagged it as an enhancement. For now, I'm updating the REAME to say that currently we don't support Windows environments. |
Hi, I tested this out, but in the end the composer install ended with this error:
...
web.config (https://cgit.drupalcode.org/drupal/plain/web.config?h=8.5.4): Downloading (100%)
In Filesystem.php line 342:
$from (C:\websites\test\htdocs/sites/default/files) and $to () must be absolute paths.
The site seems to be partially working: after the composer install (after the message above) I pointed a new entry (site.test) in my host file to the drupal-web-dir (I used 'htdocs' instead of 'web') so I pointed site.test to C:\websites\test\htdocs. When I surf to site.test I do see the drupal install page, but there is no theming at all.
The resulted folder structure ofter the composer install looks like this:
The text was updated successfully, but these errors were encountered: