You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/developers/windows.rst
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,41 +66,42 @@ Once that you have WSL installed, You will need Java and MVN working inside WSL,
66
66
67
67
Here is an example using SDKMAN, which is not required, but it is recommended for managing Java and other SDKs.
68
68
69
-
.. code-block:: powershell
69
+
.. code-block:: bash
70
70
71
71
sudo apt update
72
72
sudo apt install zip
73
73
74
-
.. code-block:: powershell
74
+
.. code-block:: bash
75
75
76
76
sudo apt update
77
77
sudo apt install unzip
78
78
79
-
.. code-block:: powershell
79
+
.. code-block:: bash
80
80
81
81
curl -s "https://get.sdkman.io"| bash
82
82
source"$HOME/.sdkman/bin/sdkman-init.sh"
83
83
84
-
.. code-block:: powershell
84
+
.. code-block:: bash
85
85
86
86
sdk install java 17.0.7-tem
87
87
88
-
.. code-block:: powershell
88
+
.. code-block:: bash
89
89
90
90
sdk install maven
91
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
-
94
92
Install Dataverse
95
93
~~~~~~~~~~~~~~~~~
96
94
97
95
Open a Linux terminal (e.g. use Windows Terminal and open a tab for the Linux distribution you selected). Then install Dataverse in WSL following the :ref:`quickstart instructions <container-dev-quickstart>`. You should then have a working Dataverse instance.
98
96
97
+
We strongly recommend that you clone the Dataverse repository from WSL, not from Windows. This will ensure that builds are much faster.
98
+
99
99
IDEs for Dataverse in Windows
100
100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101
101
102
102
You can use your favorite editor or IDE to edit Dataverse project files. Files in WSL are accessible from Windows for editing using the path ``\\wsl.localhost``. Your Linux distribution files should also be visible in File Explorer under the This PC/Linux entry.
103
-
FYI: For the best performance, it is recommended, with WSL 2, to store Dataverse files in the WSL/Linux file system and to access them from there with your Windows-based IDE (versus storing Dataverse files in your Windows file system and trying to run maven and build from Linux - access to /mnt/c files using WSL 2 is slow).
103
+
104
+
.. note:: FYI: For the best performance, it is recommended, with WSL 2, to store Dataverse files in the WSL/Linux file system and to access them from there with your Windows-based IDE (versus storing Dataverse files in your Windows file system and trying to run maven and build from Linux - access to /mnt/c files using WSL 2 is slow).
0 commit comments