Skip to content

Commit 69d62a4

Browse files
authored
Merge branch 'recodehive:main' into feature/social-sharing-buttons
2 parents 993d939 + 111cea6 commit 69d62a4

File tree

31 files changed

+2629
-823
lines changed

31 files changed

+2629
-823
lines changed

.github/ISSUE_TEMPLATE/Create feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ body:
5757
options:
5858
- label: "I have read the Contributing Guidelines"
5959
required: true
60-
- label: "Are you a GSSOC'25 contributor"
60+
- label: "Are you a WSOC'25 contributor"
6161
required: false
6262
- label: "I want to work on this issue"
6363
required: false

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ body:
4848
options:
4949
- label: "I have read the Contributing Guidelines"
5050
required: true
51-
- label: "Are you a GSSOC'25 contributor"
51+
- label: "Are you a WSOC'25 contributor"
5252
required: false
5353
- label: "I want to work on this issue"
5454
required: false

.github/ISSUE_TEMPLATE/documentation_update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ body:
5454
options:
5555
- label: "I have read the Contributing Guidelines"
5656
required: true
57-
- label: "Are you a GSSOC'25 contributor"
57+
- label: "Are you a WSOC'25 contributor"
5858
required: false
5959
- label: "I want to work on this issue"
6060
required: false

.github/workflows/autolabler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ jobs:
3939
await github.rest.issues.addLabels({
4040
...context.repo,
4141
issue_number: issueNumber,
42-
labels: ["recode", "level 1"]
42+
labels: ["recode", "level 1", "wcos"]
4343
});
4444
45-
console.log(`Added labels [recode, level 1] to Issue #${issueNumber}`);
45+
console.log(`Added labels [recode, level 1, wcos] to Issue #${issueNumber}`);
4646
4747
- name: Set Issue Type to Bug
4848
if: github.event_name == 'issues'

CODE_OF_CONDUCT.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
[![Contributors](https://img.shields.io/github/contributors/recodehive/recode-website?color=2b9348)](https://github.com/recodehive/recode-website/graphs/contributors)
1717
[![License Badge](https://img.shields.io/github/license/recodehive/recode-website?color=2b9348)](https://github.com/recodehive/recode-website/LICENSE)
1818

19+
<h2 align="center">Collaboration 1st , code 2nd.</h2>
20+
1921
**Your all-in-one resource for learning Git, GitHub, Python, and Next.js through comprehensive tutorials and hands-on projects.**
2022

2123
[Website](https://recodehive.com/)[Documentation](https://recodehive.com/docs)[Contributing](community/contributing-guidelines.md)[Discord](https://discord.gg/Yxv9RA3r)
@@ -30,7 +32,7 @@ recode hive is an open-source educational platform built to help developers mast
3032

3133
## ✨ Features
3234

33-
- **Comprehensive Tutorials** – Step-by-step guides for Git, GitHub, Python, and Next.js, suitable for beginners and advanced users
35+
- **Comprehensive Tutorials** – Step-by-step guides for Git, GitHub, Python, Pandas and Next.js, suitable for beginners and advanced users
3436
- **Hands-On Setup Guides** – Practical walkthroughs for setting up projects, repositories, and development environments
3537
- **Leaderboards & Challenges** – Track your progress, earn points, and compete with others to stay motivated
3638
- **Documentation Hub** – Centralized docs for quick reference, best practices, and deep dives into concepts

blog/authors.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ akshitha-chiluka:
8585

8686
Aditya-Singh-Rathore:
8787
name: Aditya Singh Rathore
88-
title: Self Learned Data Engineer
88+
title: Product Manager at recodehive
8989
url: https://github.com/Adez017
9090
image_url: https://avatars.githubusercontent.com/u/142787780?v=4
9191
@@ -97,3 +97,6 @@ Aditya-Singh-Rathore:
9797
linkedin: aditya-singh-rathore0017
9898
github: Adez017
9999
instagram: _aaditya_.017
100+
bluesky: adez017.bsky.social
101+
x: https://x.com/Adez017
102+

docs/Docker/intro.md

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<div align="center">
2+
3+
# 🐳 Introduction to Docker
4+
</div>
5+
6+
Welcome! Docker helps you package and run applications in containers—think of them as lightweight, portable boxes that contain everything your app needs to run.
7+
8+
## What is Docker?
9+
10+
Docker is a platform that lets you build, ship, and run applications inside containers. Instead of worrying about "it works on my machine" problems, Docker ensures your app runs the same way everywhere.
11+
12+
**Simple analogy:** Just like shipping containers standardized global trade, Docker containers standardize software deployment. Your application + its dependencies = one portable package.
13+
14+
## Why Use Docker?
15+
16+
- **Consistency** - Same behavior on your laptop, your teammate's computer, and production servers
17+
- **Fast setup** - New developers can start working in minutes instead of days
18+
- **Isolation** - Each app runs in its own environment without conflicts
19+
- **Efficiency** - Containers are lightweight and start in seconds
20+
- **Portability** - Build once, run anywhere
21+
22+
## Core Concepts
23+
24+
### Image
25+
A blueprint for your application. Contains your code, runtime, libraries, and configuration. Images are built from a **Dockerfile** and never change once created.
26+
27+
### Container
28+
A running instance of an image. Lightweight, isolated, and disposable. You can run multiple containers from the same image.
29+
30+
### Dockerfile
31+
A simple text file with instructions to build an image:
32+
```dockerfile
33+
FROM node:18-alpine
34+
WORKDIR /app
35+
COPY package*.json ./
36+
RUN npm install
37+
COPY . .
38+
CMD ["node", "app.js"]
39+
```
40+
41+
### Registry
42+
A storage service for Docker images. **Docker Hub** is the most popular—like GitHub for Docker images.
43+
44+
### Volume
45+
Persistent storage that survives when containers are deleted. Use for databases, logs, and user files.
46+
47+
### Network
48+
Allows containers to communicate with each other securely.
49+
50+
## Quick Start Workflow
51+
52+
**1. Create a Dockerfile**
53+
```dockerfile
54+
FROM python:3.11-slim
55+
WORKDIR /app
56+
COPY requirements.txt .
57+
RUN pip install -r requirements.txt
58+
COPY . .
59+
CMD ["python", "app.py"]
60+
```
61+
62+
**2. Build your image**
63+
```bash
64+
docker build -t my-app:1.0 .
65+
```
66+
67+
**3. Run a container**
68+
```bash
69+
docker run -d --name my-app -p 8000:8000 my-app:1.0
70+
```
71+
72+
**4. Check it's running**
73+
```bash
74+
docker ps
75+
docker logs my-app
76+
```
77+
78+
That's it! Your app is now running in a container.
79+
80+
## Essential Commands
81+
82+
```bash
83+
# Build an image
84+
docker build -t myapp:1.0 .
85+
86+
# Run a container
87+
docker run -d --name myapp -p 8080:80 myapp:1.0
88+
89+
# List running containers
90+
docker ps
91+
92+
# View logs
93+
docker logs myapp
94+
95+
# Stop a container
96+
docker stop myapp
97+
98+
# Remove a container
99+
docker rm myapp
100+
101+
# List images
102+
docker images
103+
104+
# Remove an image
105+
docker rmi myapp:1.0
106+
```
107+
108+
109+
## Best Practices
110+
111+
**Use official base images** - `node:18-alpine`, `python:3.11-slim`
112+
**Use specific tags** - Avoid `:latest` in production
113+
**Keep images small** - Use Alpine or slim variants
114+
**Add .dockerignore** - Exclude `node_modules`, `.git`, logs
115+
**Don't run as root** - Create a non-privileged user
116+
**Use volumes for data** - Never store important data in containers
117+
**One process per container** - Keep it simple and focused
118+
119+
120+
## Next Steps
121+
122+
1. **Install Docker** - Get Docker Desktop (Mac/Windows) or Docker Engine (Linux)
123+
2. **Try the examples** - Build and run the sample Dockerfiles above
124+
3. **Learn Docker Compose** - Manage multi-container apps easily
125+
4. **Explore Docker Hub** - Find pre-built images for databases, web servers, etc.
126+
5. **Read the docs** - https://docs.docker.com/
127+
128+
## Key Takeaways
129+
130+
- **Containers** package your app with everything it needs
131+
- **Images** are blueprints, containers are running instances
132+
- **Dockerfiles** define how to build images
133+
- **Docker Compose** manages multiple containers together
134+
- Docker makes development, testing, and deployment much easier
135+
136+
Ready to containerize your first app? Start with a simple Dockerfile and experiment! 🚀

docusaurus.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ const config: Config = {
107107
<a href="/docs/GitHub/intro-github" class="nav__icons" > <img src="/icons/github.svg" title="GitHub" alt="GitHub" /> </a>
108108
<a href="/docs/Nextjs/intro-nextjs" class="nav__icons" > <img src="/icons/nextjs.svg" title="Nextjs" alt="Nextjs" /> </a>
109109
<a href="/docs" class="nav__icons"> <img src="/icons/Logo-512X512.png" title="Docs" alt="Docs" /> </a>
110+
<a href="/docs/Docker/intro" class="nav__icons"> <img src="/icons/docker.svg" title="Docker" alt="Docker" /> </a>
110111
</div>
111112
</div>`,
112113
},

0 commit comments

Comments
 (0)