-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WSL install pages and finalise all other installation pages
- Loading branch information
Showing
34 changed files
with
315 additions
and
142 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+85.6 KB
public/images/installation/windows/vscode-open-user-settings-json.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+251 KB
public/images/installation/windows/windows-terminal-default-profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/content/docs/installation/Windows (WSL)/languages/dotnet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Installing the .NET Core SDK on Windows | ||
sidebar: | ||
hidden: true | ||
attrs: | ||
class: windows | ||
--- | ||
|
||
For coding in C#, you will need to install the `.NET` SDK which will allow you to use the *dotnet* terminal command to create, build, and run your C# project code. | ||
|
||
## Steps | ||
|
||
1. Download the latest version of the .NET SDK for macOS from the official .NET website: [dotnet.microsoft.com/download](https://dotnet.microsoft.com/download) | ||
|
||
2. Run the downloaded installer and follow on-screen instructions. | ||
|
||
3. Restart your terminal, and run the following command to check it is installed: | ||
|
||
```shell | ||
dotnet --version | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
--- | ||
title: Install WSL and Command Line Tools | ||
sidebar: | ||
label: 1. WSL and Command Line Tools | ||
attrs: | ||
class: windows | ||
--- | ||
|
||
## Install WSL (Ubuntu) | ||
|
||
Windows Subsystem for Linux (WSL) is a feature of Windows that allows you to run a Linux environment on your Windows machine, without the need for a separate virtual machine or dual booting. | ||
|
||
### Method 1: Command Line (Recommended) | ||
|
||
You can install both WSL and Ubuntu from the command-line using the following steps that have been adapted from the instructions provided in the official Microsoft documentation: [Install Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install). This is the recommended method. | ||
|
||
Open Terminal, PowerShell or Windows Command Prompt in *administrator mode* by right-clicking and selecting "Run as administrator", then copy and paste the following command to install WSL and Ubuntu: | ||
|
||
```bash | ||
wsl --install | ||
``` | ||
|
||
![Gif showing WSL terminal running wsl --install commands](/gifs/windows/wsl-terminal.gif) | ||
|
||
### Method 2: Microsoft Store (Alternative) | ||
|
||
Alternatively, you can install WSL (and Ubuntu) directly from the Microsoft Store if you have this on your Windows computer. | ||
|
||
To do this, search "WSL" in the Microsoft Store app (as shown below), or [click this link](https://apps.microsoft.com/store/detail/9P9TQF7MRM4R). | ||
|
||
![Gif showing WSL being installed from Microsoft store](/gifs/windows/install-wsl.gif) | ||
|
||
You will also need to download **Ubuntu** from the Microsoft Store. Search "Ubuntu" in the Microsoft Store app, or [click this link](https://apps.microsoft.com/store/detail/9PDXGNCFSCZV). | ||
|
||
### Create Ubuntu User Account | ||
|
||
Firstly, you need to **Restart** your computer if you haven't done so already. | ||
|
||
A terminal window installing Ubuntu should pop up automatically, otherwise open the WSL or Ubuntu app for this window to open. | ||
|
||
When prompted, enter your new UNIX username and password. | ||
For example, with the username "**default-user**", your terminal would look like this: | ||
|
||
![Image showing WSL terminal with ubuntu user account set up](/images/installation/windows/terminal-ubuntu-user-account.png) | ||
|
||
You can see in the image above where the "**default-user**" username was first entered (shown in the pink box), and the same username being used with the terminal prompt (shown in the orange box). | ||
|
||
:::tip[Troubleshooting tip:] | ||
If you have issues installing the WSL with Ubuntu, you can reset the installation using the following command: | ||
|
||
```bash | ||
wsl --unregister Ubuntu | ||
``` | ||
|
||
Then run the installation command again: | ||
|
||
```bash | ||
wsl --install | ||
``` | ||
|
||
And lastly, search for `Ubuntu` to open the Ubuntu terminal, which will allow you to create the user account, as mentioned above. | ||
::: | ||
|
||
WSL is now setup and ready to use! | ||
|
||
### Configure 'Windows Terminal' | ||
|
||
Note: This step is *optional*. | ||
|
||
If you want to be able to have your 'Windows **Terminal**' app automatically open with WSL, you can change the *Default profile* to use WSL (with Ubuntu) using the steps below: | ||
|
||
Firstly, open the Terminal app, and click the drop-down arrow at the top of the window (shown in the green box in the image below), then click on "Settings" (shown in the orange box): | ||
|
||
![Image showing Terminal App with how to open settings](/images/installation/windows/windows-terminal-settings.png) | ||
|
||
Next, click on the drop-down menu within the *Default profile* section and select either of the **Ubuntu** profiles. *If you're unsure, select the one with the Linux penguin icon* (shown in the pink box): | ||
|
||
![Image showing Terminal App with how to change default profile in settings](/images/installation/windows/windows-terminal-default-profile.png) | ||
|
||
Click **Save**. (Don't forget this!) | ||
|
||
Now your Terminal app will automatically use the WSL/Ubuntu command line when you open it. | ||
|
||
:::note | ||
Don't worry if you have different profiles in your Settings, as long as you can see at least one profile that has "Ubuntu" in the name (if you are using the default setup). | ||
::: | ||
|
||
:::tip[Pin it!] | ||
To make it easier to open each time, you can pin your Terminal to the Taskbar. | ||
|
||
- Open the Terminal App. | ||
- Right-click on the Terminal App icon in the taskbar (shown in the orange box in the image below). | ||
- Select "Pin to taskbar" (shown in the pink box): | ||
|
||
![Image showing Terminal App pinning to taskbar](/images/installation/windows/terminal-pin-taskbar.png) | ||
::: | ||
|
||
## Install Command Line Tools | ||
|
||
To install SplashKit on WSL, you will firstly need to install the `git`, `curl`, and `clang` tools using the `apt` command, which works with Ubuntu's **A**dvanced **P**ackaging **T**ool. | ||
|
||
Open your WSL Terminal. You can do this by using the Windows Terminal app if you followed the steps above, by searching for "WSL" in the Windows Start menu and then select the **WSL** App, or by using the app for the Linux distribution you installed, such as **Ubuntu**, which is installed by default. | ||
|
||
Update the package lists by running the following command in your **WSL Terminal**: | ||
|
||
```shell | ||
sudo apt update | ||
``` | ||
|
||
Next, install the `git`, `curl` and `clang` tools by running the following command: | ||
|
||
```shell | ||
sudo apt install git curl clang | ||
``` | ||
|
||
![Gif showing command above being run in WSL Terminal](/gifs/windows/wsl-git-curl.gif) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
title: Install SplashKit | ||
sidebar: | ||
label: 2. SplashKit | ||
attrs: | ||
class: windows | ||
--- | ||
|
||
Once you have WSL installed, you can install the SplashKit library: | ||
|
||
## Steps | ||
|
||
1. Open up a WSL/Ubuntu terminal. | ||
|
||
2. Install the SplashKit Manager by copy/pasting the command below into your terminal and press enter. | ||
|
||
```shell | ||
bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh) | ||
``` | ||
|
||
3. Restart the terminal and execute `skm` to test it was successfully installed. | ||
|
||
```shell | ||
skm | ||
``` | ||
|
||
You should see the following messages: | ||
|
||
```shell | ||
SplashKit is installed successfully! | ||
Missing skm command. For help use 'skm help' | ||
``` | ||
|
||
4. Run the following command to install the necessary dependencies and compile splashkit. | ||
|
||
```shell | ||
skm linux install | ||
``` | ||
|
||
5. Run the following command to install splashkit globally. | ||
|
||
```shell | ||
skm global install | ||
``` |
Oops, something went wrong.