Spaces:
Runtime error
Runtime error
benliang99
commited on
Commit
•
c93aaba
1
Parent(s):
02437d8
Initial push with images
Browse files- README.md +35 -0
- images/build_and_docker_images.png +0 -0
- images/code_..png +0 -0
- images/docker_settings.png +0 -0
- images/feature.png +0 -0
- images/new_window.png +0 -0
- images/running_hello_docker.png +0 -0
- images/ubuntu_terminal.png +0 -0
- images/vscode_wsl_ubuntu.png +0 -0
- images/wsl_version.png +0 -0
README.md
CHANGED
@@ -1,2 +1,37 @@
|
|
1 |
# cs-gy-6613-project
|
2 |
Benjamin Liang's AI Project
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# cs-gy-6613-project
|
2 |
Benjamin Liang's AI Project
|
3 |
+
|
4 |
+
Installation Steps
|
5 |
+
(Windows)
|
6 |
+
Install Docker Desktop and WSL2
|
7 |
+
Check that the WSL 2 feature are enabled. If not, enable it. https://learn.microsoft.com/en-us/windows/wsl/install. See below image for the necessary features (red underline).
|
8 |
+
|
9 |
+
![Alt text](images/feature.png?raw=true "Necessary features")
|
10 |
+
|
11 |
+
Turn on Docker Desktop and check that "Use WSL 2 based engine" is checked. It was greyed out and the default for me.
|
12 |
+
|
13 |
+
![Alt text](images/docker_settings.png?raw=true "Use WSL 2 based engine")
|
14 |
+
|
15 |
+
Select "Apply and Restart".
|
16 |
+
Open a terminal with Admin privileges, and then type "wsl.exe -l -v" to check the version.
|
17 |
+
![Alt text](images/wsl_version.png?raw=true "WSL Version")
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
Install WSL extension for VS Code
|
22 |
+
Install Dev Containers extension for VS Code
|
23 |
+
Click on bottom left status showing VS Code context (local or remote)
|
24 |
+
Select "Connect to WSL". The bottom left status now shows "WSL: Ubuntu"
|
25 |
+
![Alt text](images/vscode_wsl_ubuntu.png?raw=true "VSCode WSL Ubuntu")
|
26 |
+
|
27 |
+
Type "WSL" into the terminal
|
28 |
+
Type "code .". This should open a new VS Code window.
|
29 |
+
![Alt text](images/code_..png?raw=true "Open a new VS Code window")
|
30 |
+
![Alt text](images/new_window.png?raw=true "New window")
|
31 |
+
|
32 |
+
Extra images
|
33 |
+
![Alt text](images/ubuntu_terminal.png?raw=true "Ubuntu terminal")
|
34 |
+
|
35 |
+
Using this tutorial: https://youtu.be/pTFZFxd4hOI
|
36 |
+
![Alt text](images/build_and_docker_images?raw=true "Build and docker images")
|
37 |
+
![Alt text](images/running_hello_docker?raw=true "Testing with a hello docker file")
|
images/build_and_docker_images.png
ADDED
images/code_..png
ADDED
images/docker_settings.png
ADDED
images/feature.png
ADDED
images/new_window.png
ADDED
images/running_hello_docker.png
ADDED
images/ubuntu_terminal.png
ADDED
images/vscode_wsl_ubuntu.png
ADDED
images/wsl_version.png
ADDED