Setting up an Development Environment on Windows

Hey everyone,

Iā€™m new in programming PHP, but my company wants me to look at the nextcloud if its possible to realise the ideas they have.
Unfortunately I canā€™t get the Environment setup on Windows via xampp.

Has anyone an good tutorial to setup the Environment? With the tutorial from nextcloud, I canā€™t get it to work. I tried WSL too but i had there problems with premissions and symlinks didnā€™t work.

In advance thanks for the help.

Hey @TheStick
Nextcloud doesnā€™t support windows, as far as I know. From what Iā€™ve heard WSL is quite cumbersome, so a real Linux machine/VM may be preferable, but your mileage may vary. Iā€™ve also seen thereā€™s configuration available for github codespaces which allows setting up a dev env in the cloud, but maybe someone else may know more about this (cc @LukasReschke ?)

Cheers

Hi,

in my case it seems possible to use wsl.
It runs well and the setup is okay, if you think about some keypoints.

I donā€™t have a complete install manual or so, but here are the steps I still remeber without doing a research:

  1. make windows running wsl service, based on ubuntu (no complete ubuntu vm)
  2. install all stuff for a running NC on the wsl. To access the wsl machine, just run ā€œwslā€ in cmd on windows.
  3. put your project
    a) on the windows system and upload changed files via local access to the wsl. (you find your wsl filesystem in the network shares)
    b) on the wsl system, that makes auto node procompilation easy, because filechanges are tracked automatically ā† recommended

I hope that helps to start. Questions welcome.

Cheers

Hey,

thanks for the reply.
Iā€™ve created an Ubuntu-VM like @marcelklehr suggested and got the development up and running.
I try tomorrow the way with WSL and give feedback how it went.

Also the VM way worked, I didnā€™t get the symlinks to work. Has anybody an Idea or is it unnecessary to use?

Cheers

I would recommend you to follow this way. Until you become professional with the system you will need support and references with other systems - it is easier to find help if your system looks similar to lot other rather you have some exotic setupā€¦

Hello once again :wink:,

after some trail and error with WSL i didnā€™t get that to work. With that in mind Iā€™ll stuck to the suggestion from @marcelklehr and @wwe.

Thanks for the quick help.

Cheers