Skip to content

Commit a828bfd

Browse files
authored
Merge pull request #11604 from IQSS/windows-dev-notes
Add WSL preparation steps and package installation instructions
2 parents e3cba94 + aca07a8 commit a828bfd

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

doc/sphinx-guides/source/developers/windows.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,38 @@ You will be asked to create an initial Linux user.
5959
.. note::
6060
Using wsl --set-version to upgrade an existing distribution from WSL 1 to WSL 2 may not work - installing a new distribution using WSL 2 is recommended.
6161

62+
Prepare WSL
63+
~~~~~~~~~~~
64+
65+
Once that you have WSL installed, You will need Java and MVN working inside WSL, how you go about this will depend on the Linux distribution you installed in WSL.
66+
67+
Here is an example using SDKMAN, which is not required, but it is recommended for managing Java and other SDKs.
68+
69+
.. code-block:: powershell
70+
71+
sudo apt update
72+
sudo apt install zip
73+
74+
.. code-block:: powershell
75+
76+
sudo apt update
77+
sudo apt install unzip
78+
79+
.. code-block:: powershell
80+
81+
curl -s "https://get.sdkman.io" | bash
82+
source "$HOME/.sdkman/bin/sdkman-init.sh"
83+
84+
.. code-block:: powershell
85+
86+
sdk install java 17.0.7-tem
87+
88+
.. code-block:: powershell
89+
90+
sdk install maven
91+
92+
We strongly recommend that you clone the Dataverse repository from WSL, not from Windows. This will ensure that builds are much faster.
93+
6294
Install Dataverse
6395
~~~~~~~~~~~~~~~~~
6496

0 commit comments

Comments
 (0)