Closed karmendra closed 7 months ago
Looks like a couple of changesin bin/wsl-init
other than the rename to bin/wsl-init.sh
(which I don't think we need. Line 1 of the script contains the info).
Can you back out your changes to bin/wsl-init
and keep the rest of the changes? I want to get this and #1949 together in the same branch.
Let's target branch wsl-rework
with this PR as the feature branch for this work.
Looks like a couple of changesin
bin/wsl-init
other than the rename tobin/wsl-init.sh
(which I don't think we need. Line 1 of the script contains the info).
I delete wsl-init.sh, for now. If you need any change from wsl-init.sh
moved in wsl-init
let me know. I had following in wsl-init.sh
Can you back out your changes to
bin/wsl-init
and keep the rest of the changes? I want to get this and #1949 together in the same branch.
I didn't modify wsl-init
in this PR.
I fixed the merge conflicts, Also added code in WSLCreateSiteCommand to configure cron for laravel scheduler.
Please mind that I come from bitbucket background, so pardon my ignorance with github, guide me when required. Thanks.
There's still something wrong with the merge i think, it like completely failed or something
For instance
https://github.com/laravel/homestead/blob/wsl-rework/scripts/features/postgresql.sh
If I checkout your branch @karmendra (document-wsl-install) and (hard) reset to commit cebcad8f7fb1b5dda78e472dfd8a62bfd77de66c, then after - when I merge wsl-rework I get these conflicts and edited files:
Conflict:
Edited:
There is something not straight forward, allow me today, I will fix it.
I tried various git commands to fix this, but didn't work.
So I created a fresh PR to wsl-work branch itself.
We can discard this PR and use the new one.
Thanks for the work here.
WslApplyFolderMapping.php
, to handle folder mapping in WSL from Homestead configuration.wsl:folders
to configure folder mapping in WSL.wsl:create-databases
towsl:databases
for consistency.wsl:create-sites
towsl:sites
for consistency.print_r
instead ofvar_dump
.WslCreateSiteCommand.php
to configure sites in Nginx for WSL.WslCreateDatabaseCommand.php
, to create databases in WSL from Homestead configuration.WslCreateSiteCommand.php
to configure laravel sites' cron schedule for WSL.