This repository is a monorepo that uses the Turbo build system and contains multiple apps and packages. The primary app described here is an Astro site located in apps/web.
/
├── apps/
│ └── web/ # Astro project (main app)
├── .turbo/ # Turbo build system config directory
├── node_modules/ # Installed dependencies
├── package.json # Root package configuration
└── pnpm-workspace.yaml # Monorepo workspace definition for pnpm
/If you have more apps/packages, add them under apps/ or a packages/ folder./
This folder contains the main Astro app.
-
Navigate to the
apps/webdirectory:cd apps/web -
Install dependencies from the root:
pnpm install
-
Start the development server:
pnpm dev
- Recommended extension:
astro-build.astro-vscode(see.vscode/extensions.json) - Launch config in
.vscode/launch.jsonallows you to easily run the Astro dev server.
Note: All scripts should be run from the monorepo root unless otherwise specified.
| Command | Description |
|---|---|
pnpm install |
Install all dependencies |
pnpm dev -F web |
Run dev server for the Astro app |
pnpm build -F web |
Build the Astro app |
- Environment variables for Astro should be placed in
.envor.env.productionwithinapps/web/. - These files are git-ignored.
node_modules, build outputdist/, debug logs, and system-specific folders/files are git-ignored (see.gitignoreinapps/web/).- JetBrains and VSCode settings are pre-configured in the
.idea/and.vscode/directories.
See apps/web/README.md for further details about the Astro project.