Patchstack Academy is a community-built website created by people fascinated with web security.
Join our Community to meet us better.
Prerequisites Node.js - v18.14.1 or higher.
- Fork the repository first.
git clone
the forked repository on your computer.- Run
npm install
andnpm start
Patchstack Academy is built on top of Astro Starlight.
.
├── public/
├── src/
│ ├── assets/
│ ├── content/
│ │ ├── docs/
│ │ └── config.ts
| ├── libs
| ├── pages
| ├── styles
│ └── env.d.ts
├── astro.config.mjs
├── package.json
└── tsconfig.json
The part that should interest you the most is the src/content/docs
folder. All the website content is there in Markdown or MDX format.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add , astro check |
npm run astro -- --help |
Get help using the Astro CLI |