Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.69 KB

README.md

File metadata and controls

47 lines (39 loc) · 1.69 KB

Patchstack Academy

What is it

Patchstack Academy is a community-built website created by people fascinated with web security.

Join our Community to meet us better.

Installation

Prerequisites Node.js - v18.14.1 or higher.

  1. Fork the repository first.
  2. git clone the forked repository on your computer.
  3. Run npm install and npm start

Project structure

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.

Commands

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