Skip to content

Commit d6ccb56

Browse files
committed
Feat: Added Docker and WSL installation steps
1 parent 5f649f7 commit d6ccb56

1 file changed

Lines changed: 167 additions & 58 deletions

File tree

README.md

Lines changed: 167 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,180 @@
1-
Resources to quickly get started and running for different domains. Updated to work with the LLM age
2-
3-
4-
## FE
5-
1. Install nodeJS and npm:
6-
7-
a) For windows:
8-
9-
1. Go to nodeJS's official website and scroll down to the "Or get a prebuilt Node.js®" section. Click the "Windows Installer (.msi)" button to download the installer.
10-
11-
2. Double click the downloaded .msi file, give administrator permissions if asked and click "next" to every prompt until "finish" comes up.
12-
13-
3. Right click the windows icon which would open up a list of options. Select "Windows Powershell(Admin)" or the "Terminal(Admin)" option from the list. Copy the following command:
14-
15-
```Set-ExecutionPolicy -ExecutionPolicy RemoteSigned```
16-
17-
and paste it in your terminal using CTRL+V.
18-
19-
b) For MacOS:
20-
Open your terminal and paste the following:
21-
22-
# Download and install nvm:curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
23-
24-
25-
# Download and install Node.js:
26-
nvm install 22
27-
28-
29-
# Verify the Node.js version:
30-
31-
node -v # Should print "v22.13.0".
32-
33-
nvm current # Should print "v22.13.0".
34-
35-
36-
# Verify npm version:
37-
npm -v # Should print "10.9.2".
38-
39-
40-
41-
c) For Linux:
42-
Use nvm. We trust you guys to figure out the rest 🔥
43-
44-
2. After that init a next JS app using npx create-next-app@latest my-app --yes
45-
3. cd my-app
46-
4. npm run dev
47-
5. Then you'll hv a thing running on localhost:3000
48-
6. There's a page.tsx file which is the entry point of ur app
49-
7. Read nd understand it. Modify it a little bit. Understand it properly
50-
8. After that make a weather app using any resources u can find
51-
9. After that you'll start growing urself
1+
Resources to quickly get started and running for different domains.
2+
3+
## Node
4+
5+
1. Install nodeJS and npm:
6+
7+
a) For windows:
8+
9+
1. Go to [nodeJS's official website](https://nodejs.org/en/download) and scroll down to the "Or get a prebuilt Node.js®" section. Click the "Windows Installer (.msi)" button to download the installer.
10+
11+
2. Double click the downloaded .msi file, give administrator permissions if asked and click "next" to every prompt until "finish" comes up.
12+
13+
3. Right click the windows icon which would open up a list of options. Select "Windows Powershell(Admin)" or the "Terminal(Admin)" option from the list. Copy and paste the following command:
14+
15+
```sh
16+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
17+
```
18+
19+
<!-- Update the below part to get data from the node js website-->
20+
21+
b) For MacOS:
22+
Open your terminal and paste the following:
23+
24+
```sh
25+
# Download and install nvm:
26+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
27+
28+
# Download and install Node.js:
29+
nvm install 22
30+
31+
# Verify the Node.js version:
32+
node -v # Should print "v22.13.0".
33+
34+
nvm current # Should print "v22.13.0".
35+
36+
# Verify npm version:
37+
npm -v # Should print "10.9.2".
38+
```
39+
40+
c) For Linux:
41+
Open your terminal and paste the following:
42+
43+
```sh
44+
# Download and install nvm:
45+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
46+
47+
# in lieu of restarting the shell
48+
\. "$HOME/.nvm/nvm.sh"
49+
50+
# Download and install Node.js:
51+
nvm install 24
52+
53+
# Verify the Node.js version:
54+
node -v # Should print "v24.11.1".
55+
56+
# Verify npm version:
57+
npm -v # Should print "11.6.2".
58+
```
59+
60+
## FE (Next JS)
61+
62+
1. Check installation of node using the following command :
63+
`node -v #Should print "v24.11.1" or something along those lines`
64+
1. Init a next JS app using npx create-next-app@latest my-app --yes
65+
1. cd my-app
66+
1. npm run dev
67+
1. Then you'll have a thing running on localhost:3000
68+
1. There's a page.tsx file which is the entry point of ur app
69+
1. Read and understand it. Modify it a little bit. Understand it properly
70+
1. After that make a weather app using any resources you can find
71+
1. After that you'll start growing yourself
5272

5373
## BE
54-
0. Install go https://go.dev/learn/
55-
1. get a backend server running that returns pong when you visit http://localhost:8080/ping
56-
2. Create a GET route that takes in city name and returns the current weather by fetching it from posgres DB
57-
3. Create a POST route that takes in the weather data and makes a entry of the city.
58-
4. Create a DELETE route that deletes the weather entry of a city.
5974

60-
You can use all the resources available online, youtube tutorials/videos, GPT, go docs anything to create it.
75+
1. Install go from https://go.dev/doc/install
76+
1. Get a backend server running that returns pong when you visit http://localhost:8080/ping
77+
1. Create a GET route that takes in city name and returns the current weather by fetching it from posgres DB
78+
1. Create a POST route that takes in the weather data and makes a entry of the city.
79+
1. Create a DELETE route that deletes the weather entry of a city.
80+
81+
You can use all the resources available online, youtube tutorials/videos, GPT, go docs anything to create it.
6182
Bonus: Host this application in docker.
6283

84+
## WSL (Windows Subsystem for Linux)
85+
86+
1. Install WSL by running the following command in PowerShell in administrator mode by right-clicking and selecting "Run as administrator"
87+
88+
```sh
89+
wsl --install
90+
```
91+
92+
2. Verify the installation using the following command
93+
94+
```sh
95+
wsl --version
96+
```
97+
98+
Note:
99+
You can also see the available distros that you can download using this command
100+
101+
```sh
102+
wsl --list --online
103+
```
104+
105+
If you want to install a specific distro you can do so by running the following command
106+
107+
```sh
108+
wsl --install -d <DistroName>
109+
```
110+
111+
## Docker
112+
113+
a) For Windows
114+
115+
1. Ensure that you have WSL install in your system if not following the WSL section.
116+
2. Go to https://www.docker.com/get-started/ and install the msi
117+
3. Double-click Docker Desktop Installer.exe to run the installer. By default, Docker Desktop is installed at C:\Program Files\Docker\Docker.
118+
4. When prompted, ensure the Use WSL 2 instead of Hyper-V option on the Configuration page is selected.
119+
5. Follow the instructions on the installation wizard to authorize the installer and proceed with the installation.
120+
6. When the installation is successful, select Close to complete the installation process.
121+
7. Lastly run docker desktop by searching for it in the search menu.
122+
8. You can verify the installation by running the following command
123+
124+
```sh
125+
docker run hello-world
126+
```
127+
128+
b) For Linux (Ubuntu)
129+
130+
1. Set up the docker apt repository by copying and pasting this command
131+
132+
```sh
133+
# Add Docker's official GPG key:
134+
135+
sudo apt update
136+
sudo apt install ca-certificates curl
137+
sudo install -m 0755 -d /etc/apt/keyrings
138+
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
139+
sudo chmod a+r /etc/apt/keyrings/docker.asc
140+
141+
# Add the repository to Apt sources:
142+
143+
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
144+
Types: deb
145+
URIs: https://download.docker.com/linux/ubuntu
146+
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
147+
Components: stable
148+
Signed-By: /etc/apt/keyrings/docker.asc
149+
EOF
150+
151+
sudo apt update
152+
```
153+
154+
2. Install the docker packages
155+
156+
```sh
157+
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
158+
```
159+
160+
3. Start the docker service with the following command
161+
162+
```sh
163+
sudo systemctl start docker
164+
```
165+
166+
4. You can verify the installation by running the following command
167+
168+
```sh
169+
docker run hello-world
170+
```
171+
63172
## AI , LLMs , MCP
173+
64174
1. A document has been carefully curated for beginners who want to understand LLMs and their architecture.
65175
2. One can also gain understanding on MCPs and Agentic AI using the same.
66176
3. Tab 1 has links to several resourceful youtube channels and courses (mostly free) to follow.
67177
4. Tab 2 has Repos to understand ,decipher and get Hands-On with algorithms, ML and architectures.
68178
5. Tab 3 has Research paper and Books to refer - try these only when you have basic understanding via tab 1 and 2.
69179

70-
71180
https://docs.google.com/document/d/1iPpHZxTIYEbuDfGO80aOoIZ85CNC_j5vGaXGW7n7k0g/edit?usp=sharing

0 commit comments

Comments
 (0)