Skip to content

sahithyandev/s1

Repository files navigation

S1

My personal 1st semester notes.

Prerequisites

  • Node (>= v18)
  • Bun (>= v1.1.7) as package manager and runtime

Project Structure

.
├── public/
├── src/
│   ├── assets/
│   ├── content/
│   │   ├── docs/
│   │   └── config.ts
│   └── env.d.ts
├── astro.config.mjs
├── package.json
└── tsconfig.json

Each markdown (.md) file under src/content/docs directory, is exposed as a route based on its file name.

Static assets, like favicons, should be placed in the public/ directory.

Commands

All commands are run from the root of the project, from a terminal:

Command Action
bun install Installs dependencies
bun run dev Starts local dev server at localhost:4321
bun run build Build your production site to ./dist/
bun run preview Preview your build locally, before deploying
bun run astro ... Run CLI commands like astro add, astro check
bun run astro -- --help Get help using the Astro CLI

Built using Astro and Starlight.