Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing v2 phase 1 changes in Staging #212

Merged
merged 113 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
570bb79
Merge pull request #142 from learntocloud/staging
rishabkumar7 Apr 13, 2023
8e12b93
Updated GH Actions to reflect single branch
rishabkumar7 Apr 13, 2023
e5b6d40
updated banner
madebygps Apr 14, 2023
08ba6f9
Added Hacktricks Cloud
ethanolivertroy Apr 18, 2023
0805b0c
Fixed spelling and added periods.
lagain Apr 20, 2023
596ec07
Merge pull request #144 from Lagain/main
rishabkumar7 Apr 20, 2023
d1928de
Merge pull request #143 from ethanolivertroy/main
madebygps Apr 21, 2023
cb1e6df
docs(contributor): contrib-readme-action has updated readme
rishabkumar7 Apr 21, 2023
26294e6
Merge pull request #147 from learntocloud/contributors-readme-action-…
madebygps Apr 21, 2023
54f60a4
Update contributors.yml
rishabkumar7 May 2, 2023
6cea1c1
docs(contributor): contrib-readme-action has updated readme
github-actions[bot] May 2, 2023
11338aa
Merge pull request #158 from learntocloud/contributors-readme-action-…
rishabkumar7 May 2, 2023
b0e19a7
Update contributors action to run weekly
rishabkumar7 May 2, 2023
6b52474
cleaned up context, resources, and projects
May 3, 2023
7891095
Added github copilot module
madebygps May 4, 2023
3e6709e
Added Cloud Dictionary to nav
rishabkumar7 May 30, 2023
79e3b44
Added CodeQL Scanning badge to README
rishabkumar7 May 30, 2023
04f8cd4
offcanvas menu close button position
azgcloudev Aug 4, 2023
898595e
minor css changes
azgcloudev Aug 4, 2023
aabaa4b
revert to the original appid and apikey for algolia
azgcloudev Aug 4, 2023
2ec8504
Update README.md
tbsharkey Aug 13, 2023
c5c6411
Merge pull request #165 from tbsharkey/main
madebygps Aug 13, 2023
6fc695d
Merge pull request #163 from azgcloudev/fix/159-ui
madebygps Aug 13, 2023
5da89c6
add cloudfare analytics script
azgcloudev Aug 15, 2023
a374eb1
replace token with env variable
azgcloudev Aug 15, 2023
8c5057a
Merge pull request #166 from azgcloudev/cloudfare-analytics
rishabkumar7 Aug 15, 2023
0647ef1
Update azure-static-web-apps-agreeable-forest-05e8c1b0f.yml
rishabkumar7 Aug 15, 2023
01c90f0
docs(contributor): contrib-readme-action has updated readme
rishabkumar7 Aug 20, 2023
5d4373c
Merge pull request #167 from learntocloud/contributors-readme-action-…
rishabkumar7 Aug 24, 2023
6bf823d
First steps to have all the content in Spanish
felipeschneider88 Sep 19, 2023
9594c2a
first part of phase3
felipeschneider88 Sep 19, 2023
24a6f99
Added project section and 2nd part of Phase 3
felipeschneider88 Sep 19, 2023
c6ff0a3
Finnished Phase3 translation
felipeschneider88 Sep 19, 2023
034f418
1st part of phase 4
felipeschneider88 Sep 19, 2023
2294927
adding the supportive language es to docusaurus config
felipeschneider88 Sep 19, 2023
1fadd60
End with Phas 4 and start with phase 1
felipeschneider88 Sep 22, 2023
18b9841
finish with phase 1
felipeschneider88 Sep 22, 2023
844a32b
starting with project section
felipeschneider88 Sep 22, 2023
2cb6293
remove button margin top to align the theme toggle icon in the navbar
azgcloudev Sep 29, 2023
cdf2b4f
Merge pull request #169 from azgcloudev/issue-159
madebygps Oct 23, 2023
945531c
updated project ideas phase1 and phase2
madebygps Nov 1, 2023
182cbb8
add capstones to p1 and p2
madebygps Nov 1, 2023
4c1e50b
Merge pull request #168 from felipeschneider88/main
madebygps Dec 12, 2023
36e2d4b
Updated homepage defiition functionality to daily definiton from random
madebygps Dec 15, 2023
421efb4
Updates to definition of the day text color
madebygps Dec 19, 2023
56851e3
Merge pull request #173 from learntocloud/definitionofthedayui
madebygps Dec 19, 2023
17f531a
uiupdates
madebygps Dec 19, 2023
0c9b39a
Merge pull request #174 from learntocloud/definitionofthedayui
madebygps Dec 19, 2023
911bcf1
uiupdates
madebygps Dec 19, 2023
f3f4944
Merge pull request #175 from learntocloud/definitionofthedayui
madebygps Dec 19, 2023
a4ed897
Revert "Merge pull request #173 from learntocloud/definitionofthedayui"
rishabkumar7 Dec 30, 2023
3121411
Added phase 4 capstone project
rishabkumar7 Dec 30, 2023
b1cf1a3
updated instructions on capstone and rm projects
rishabkumar7 Jan 3, 2024
fd9c212
fixed typos
rishabkumar7 Jan 3, 2024
e2bf4eb
Merge pull request #177 from learntocloud/devops-captsone-project
madebygps Jan 3, 2024
de0cde4
added data since it's nested now
madebygps Jan 6, 2024
771cd07
Merge pull request #179 from learntocloud/fix-definitioncard
madebygps Jan 6, 2024
b4ddddc
docs(contributor): contrib-readme-action has updated readme
rishabkumar7 Jan 7, 2024
1b0da30
updated discord link
madebygps Jan 7, 2024
a61da78
Merge pull request #181 from learntocloud/fix-discord-link
madebygps Jan 7, 2024
0bd6f87
Update contributors.yml
rishabkumar7 Jan 7, 2024
ed75db6
Merge pull request #182 from learntocloud/disable-contributor-action
rishabkumar7 Jan 7, 2024
b7fb5cb
added couple projects
rishabkumar7 Jan 10, 2024
bafe9a2
Merge pull request #180 from learntocloud/contributors-readme-action-…
rishabkumar7 Jan 10, 2024
16f1c6a
Merge pull request #184 from learntocloud/project-resources
rishabkumar7 Jan 11, 2024
b8c0564
updates to intro page
madebygps Jan 15, 2024
605a04a
Merge pull request #185 from learntocloud/content-update
madebygps Jan 15, 2024
46a2167
changed index.tsx so welcome is root page
rishabkumar7 Jan 16, 2024
e473bdf
also had to change config to serve docs at / route
rishabkumar7 Jan 16, 2024
bdcb900
Merge pull request #186 from learntocloud/homepage-changes
rishabkumar7 Jan 16, 2024
7c730fd
removed links from header and added footer
rishabkumar7 Jan 16, 2024
33d45bf
changed order and added 4th column
rishabkumar7 Jan 18, 2024
aa9861d
Merge pull request #188 from learntocloud/ui-changes
madebygps Jan 18, 2024
8821ccc
updates to cap1 and cap2
madebygps Jan 22, 2024
d416320
Merge pull request #189 from learntocloud/adding-cap1
madebygps Jan 22, 2024
25a4a9a
edited p1 and added resoureces
madebygps Jan 22, 2024
a9998da
Merge pull request #190 from learntocloud/add-resources-p1
madebygps Jan 22, 2024
440ba07
made sure the path and the page exits
rishabkumar7 Feb 18, 2024
95b38f4
Merge pull request #197 from learntocloud/issue-196-contributors-page
rishabkumar7 Feb 18, 2024
4f823a4
Fix broken link in readme.md
swapnilbawane Apr 24, 2024
af006ec
Merge pull request #199 from swapnilbawane/main
rishabkumar7 Apr 24, 2024
f7c5c97
Updated Links to Labs
Micahs0Day May 5, 2024
145ee98
Merge pull request #201 from Micahs0Day/patch-1
rishabkumar7 May 5, 2024
f06ba38
added dockerfile
rishabkumar7 May 25, 2024
b046e09
optimized the dockerfile
rishabkumar7 May 25, 2024
ecef173
added docker instructions
rishabkumar7 May 28, 2024
73b1c22
Merge pull request #203 from learntocloud/docker-image
rishabkumar7 May 28, 2024
6b78e83
fixed the homepage mdx for translations
rishabkumar7 May 30, 2024
e0139ee
fixed naming convention in ne
rishabkumar7 May 30, 2024
0cfd308
Merge pull request #204 from learntocloud/198-homepage-error-translat…
madebygps May 31, 2024
30766c0
Updated Python for Beginners URL
nthewara Jun 1, 2024
cba3be4
Merge pull request #205 from nthewara/patch-1
madebygps Jun 1, 2024
a7474e3
updates to phase0
madebygps Jun 12, 2024
d218d72
further clarified capstone and grammar corrections
madebygps Jun 12, 2024
2ce6864
further clarified capstone and grammar corrections
madebygps Jun 12, 2024
c115a86
grammar corrections
madebygps Jun 12, 2024
11e3726
fixed code formatting and grammar in phase 2 and 4
madebygps Jun 12, 2024
43b61fe
grammar fixes in phase5
madebygps Jun 12, 2024
3b346d7
updates to formatting
madebygps Jun 12, 2024
8f1d79f
added new Devops capstone project
rishabkumar7 Oct 1, 2024
a9aed42
Merge pull request #209 from learntocloud/phase-4-devops-project-update
rishabkumar7 Oct 1, 2024
c9aa3a7
added v2 phase1 guides
madebygps Oct 21, 2024
f7d5c5d
Update README.md
madebygps Oct 23, 2024
e5f3cf3
Update 1-versioncontrol.md
madebygps Oct 23, 2024
344adf7
Update 2-cli.md
madebygps Oct 23, 2024
52f735d
Update 3-iac.md
madebygps Oct 23, 2024
2f57a95
Update 4-buildthelab.md
madebygps Oct 23, 2024
0231be2
Update 5-reading.md
madebygps Oct 23, 2024
f3ca7ef
Update 4-buildthelab.md
madebygps Oct 23, 2024
a1d89bd
Rename 4-buildthelab.md to 4-ssh.md
madebygps Oct 23, 2024
da9dbc5
Update 3-iac.md
madebygps Oct 23, 2024
5e73a36
Update 5-reading.md
madebygps Oct 23, 2024
3d001d3
updated linux ctf
rishabkumar7 Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ on:
push:
branches:
- main
- staging
pull_request_target:
types: [opened, synchronize, reopened, closed]
branches:
- main
- staging

jobs:
build_and_deploy_job:
Expand Down Expand Up @@ -37,6 +35,7 @@ jobs:
env: # Add environment variables here
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
CLOUDFARE_ANALYTICS_TOKEN: ${{ secrets.CLOUDFARE_ANALYTICS_TOKEN }}

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL Code Scanning"

on:
push:
branches: [ "staging", main ]
branches: [ "main" ]
pull_request:
branches: [ "staging" ]
branches: [ "main" ]
schedule:
- cron: '0 0 * * 0'

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: Add contributors
on:
schedule:
- cron: '0 12 * * *'
push:
branches:
- staging
on: [workflow_dispatch]

jobs:
contributors-markdown-job:
Expand Down
9 changes: 9 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"ExpandedNodes": [
"",
"\\docs",
"\\docs\\phase2"
],
"SelectedNode": "\\docs\\phase2\\README.md",
"PreviewInSolutionExplorer": false
}
98 changes: 60 additions & 38 deletions Contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
<sub><b>Verlaine_Devnet</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/byfilin">
<img src="https://avatars.githubusercontent.com/u/52977983?v=4" width="100;" alt="byfilin"/>
<br />
<sub><b>Filin</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/ViniViniAntunes">
<img src="https://avatars.githubusercontent.com/u/57882903?v=4" width="100;" alt="ViniViniAntunes"/>
Expand All @@ -37,43 +44,51 @@
<br />
<sub><b>Ricardo Martins</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/azgcloudev">
<img src="https://avatars.githubusercontent.com/u/72358828?v=4" width="100;" alt="azgcloudev"/>
<br />
<sub><b>Aldair</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/CarolineChiari">
<img src="https://avatars.githubusercontent.com/u/57648401?v=4" width="100;" alt="CarolineChiari"/>
<br />
<sub><b>Caroline Chiari</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/Abdennour0210">
<img src="https://avatars.githubusercontent.com/u/46243233?v=4" width="100;" alt="Abdennour0210"/>
<a href="https://github.com/felipeschneider88">
<img src="https://avatars.githubusercontent.com/u/32371298?v=4" width="100;" alt="felipeschneider88"/>
<br />
<sub><b>Abdennour</b></sub>
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/srishtipoudel">
<img src="https://avatars.githubusercontent.com/u/66827364?v=4" width="100;" alt="srishtipoudel"/>
<a href="https://github.com/joseasync">
<img src="https://avatars.githubusercontent.com/u/18737977?v=4" width="100;" alt="joseasync"/>
<br />
<sub><b>Srishti </b></sub>
<sub><b>Jose Cruz</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/azgcloudev">
<img src="https://avatars.githubusercontent.com/u/72358828?v=4" width="100;" alt="azgcloudev"/>
<a href="https://github.com/srishtipoudel">
<img src="https://avatars.githubusercontent.com/u/66827364?v=4" width="100;" alt="srishtipoudel"/>
<br />
<sub><b>Aldair</b></sub>
<sub><b>Srishti </b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/joseasync">
<img src="https://avatars.githubusercontent.com/u/18737977?v=4" width="100;" alt="joseasync"/>
<a href="https://github.com/Abdennour0210">
<img src="https://avatars.githubusercontent.com/u/46243233?v=4" width="100;" alt="Abdennour0210"/>
<br />
<sub><b>Jose Cruz</b></sub>
<sub><b>Abdennour</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/BrianCollet">
<img src="https://avatars.githubusercontent.com/u/50160870?v=4" width="100;" alt="BrianCollet"/>
Expand All @@ -87,8 +102,7 @@
<br />
<sub><b>Antonio Lo Fiego</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/abdrrahimelh">
<img src="https://avatars.githubusercontent.com/u/59322515?v=4" width="100;" alt="abdrrahimelh"/>
Expand All @@ -104,19 +118,20 @@
</a>
</td>
<td align="center">
<a href="https://github.com/arushmangal">
<img src="https://avatars.githubusercontent.com/u/83538403?v=4" width="100;" alt="arushmangal"/>
<a href="https://github.com/ydamni">
<img src="https://avatars.githubusercontent.com/u/93495053?v=4" width="100;" alt="ydamni"/>
<br />
<sub><b>Arush Mangal</b></sub>
<sub><b>Yassin DAHMOUNI</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/ethanolivertroy">
<img src="https://avatars.githubusercontent.com/u/63926014?v=4" width="100;" alt="ethanolivertroy"/>
<a href="https://github.com/sarthakregmi">
<img src="https://avatars.githubusercontent.com/u/66667396?v=4" width="100;" alt="sarthakregmi"/>
<br />
<sub><b>Ethan Troy</b></sub>
<sub><b>Sarthak Regmi</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/erh-git">
<img src="https://avatars.githubusercontent.com/u/8422319?v=4" width="100;" alt="erh-git"/>
Expand All @@ -125,18 +140,17 @@
</a>
</td>
<td align="center">
<a href="https://github.com/sarthakregmi">
<img src="https://avatars.githubusercontent.com/u/66667396?v=4" width="100;" alt="sarthakregmi"/>
<a href="https://github.com/ethanolivertroy">
<img src="https://avatars.githubusercontent.com/u/63926014?v=4" width="100;" alt="ethanolivertroy"/>
<br />
<sub><b>Sarthak Regmi</b></sub>
<sub><b>Ethan Troy</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/ydamni">
<img src="https://avatars.githubusercontent.com/u/93495053?v=4" width="100;" alt="ydamni"/>
<a href="https://github.com/arushmangal">
<img src="https://avatars.githubusercontent.com/u/83538403?v=4" width="100;" alt="arushmangal"/>
<br />
<sub><b>Yassin DAHMOUNI</b></sub>
<sub><b>Arush Mangal</b></sub>
</a>
</td>
<td align="center">
Expand All @@ -159,7 +173,8 @@
<br />
<sub><b>Jacob Higbee</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/loujaybee">
<img src="https://avatars.githubusercontent.com/u/5528307?v=4" width="100;" alt="loujaybee"/>
Expand All @@ -168,13 +183,12 @@
</a>
</td>
<td align="center">
<a href="https://github.com/Lagain">
<img src="https://avatars.githubusercontent.com/u/99564089?v=4" width="100;" alt="Lagain"/>
<a href="https://github.com/lagain">
<img src="https://avatars.githubusercontent.com/u/99564089?v=4" width="100;" alt="lagain"/>
<br />
<sub><b>Luke Gain</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/sylvainreiter">
<img src="https://avatars.githubusercontent.com/u/3787458?v=4" width="100;" alt="sylvainreiter"/>
Expand All @@ -189,13 +203,21 @@
<sub><b>Thomas Thornton</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/tbsharkey">
<img src="https://avatars.githubusercontent.com/u/17214273?v=4" width="100;" alt="tbsharkey"/>
<br />
<sub><b>Tom Sharkey</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/vazsingh">
<img src="https://avatars.githubusercontent.com/u/74464807?v=4" width="100;" alt="vazsingh"/>
<br />
<sub><b>Vaz</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/allan-oliveira">
<img src="https://avatars.githubusercontent.com/u/10514795?v=4" width="100;" alt="allan-oliveira"/>
Expand Down
42 changes: 42 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Stage 1: Base image.
FROM node:lts as base
## Disable colour output from yarn to make logs easier to read.
ENV FORCE_COLOR=0
## Enable corepack.
RUN corepack enable
## Set the working directory to `/opt/docusaurus`.
WORKDIR /opt/docusaurus

# Stage 2a: Development mode.
FROM base as dev
## Set the working directory to `/opt/docusaurus`.
WORKDIR /opt/docusaurus
## Expose the port that Docusaurus will run on.
EXPOSE 3000
## Run the development server.
CMD [ -d "node_modules" ] && npm run start --host 0.0.0.0 --poll 1000 || npm run install && npm run start --host 0.0.0.0 --poll 1000

# Stage 2b: Production build mode.
FROM base as prod
## Set the working directory to `/opt/docusaurus`.
WORKDIR /opt/docusaurus
## Copy over the source code.
COPY . /opt/docusaurus/
## Install dependencies with `--immutable` to ensure reproducibility.
RUN npm ci
## Build the static site.
RUN npm run build

# Stage 3a: Serve with `docusaurus serve`.
FROM prod as serve
## Expose the port that Docusaurus will run on.
EXPOSE 3000
## Run the production server.
CMD ["npm", "run", "serve", "--", "--host", "0.0.0.0", "--no-open"]

# Stage 3b: Serve with Caddy.
FROM caddy:2-alpine as caddy
## Copy the Caddyfile.
COPY --from=prod /opt/docusaurus/Caddyfile /etc/caddy/Caddyfile
## Copy the Docusaurus build output.
COPY --from=prod /opt/docusaurus/build /var/docusaurus
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Welcome

[![Azure Static Web Apps CI/CD](https://github.com/learntocloud/learn-to-cloud/actions/workflows/azure-static-web-apps-agreeable-forest-05e8c1b0f.yml/badge.svg?branch=main)](https://github.com/learntocloud/learn-to-cloud/actions/workflows/azure-static-web-apps-agreeable-forest-05e8c1b0f.yml)
[![CodeQL Code Scanning](https://github.com/learntocloud/learn-to-cloud/actions/workflows/codeql-code-scanning.yml/badge.svg)](https://github.com/learntocloud/learn-to-cloud/actions/workflows/codeql-code-scanning.yml)

## What is Learn to Cloud?

Expand Down Expand Up @@ -35,6 +36,36 @@ We would love to be your first PR! or any PR for that matter. Take a look at our

If you have ideas for updating the guide content, please open a PR and we would take a look at it.

## Docker Support

You can pull the public image from docker hub [rishabkumar7/ltc-website](https://hub.docker.com/r/rishabkumar7/ltc-website) or build it locally.

### Building the Docker Image:

To build the docker image you will need to run the following command:

``` bash
docker build --target <target> -t <tag> .
```

- `--target <target>` - This is the target to build. The target is the name of the stage in the dockerfile. Valid targets are `dev`, `serve` and `caddy`
- `-t <tag>` - This is the name and tag of the image that will be built. The format is <name>:<tag>. The name can be anything you want. The tag is optional. If you do not specify a tag, latest will be used.

- `.` - This is the path to the build context. In this case we are using the current directory (root directory of this project) as the build context.

### Running the Docker Image

To run the serve target you will need to run the following command:

``` bash
docker run --rm -d -p 3000:3000 <tag>
```

- `--rm` - This is an optional flag that will remove the container when it exits.
- `-d` - This is an optional flag that will run the container in detached mode.
- `-p 3000:3000` - This is an optional flag that will map port 3000 on the host to port 3000 in the container.
- `<tag>` - This is the name and tag of the image that will be run. Make sure to use the same tag that you used when building the image.

## License

Distributed under the MIT License. See [LICENSE](/LICENSE) for more information.
Loading
Loading