Skip to content

Team4914/website

Repository files navigation

VPCI Robotics Website

📕 Usage

  1. Install the pnpm package manager
  2. Clone the repository: git clone https://github.com/Team4914/website Note: for the password, create a personal access token
  3. Go into the project directory and install the dependencies: cd website && pnpm i
  4. Run the Astro development server with: pnpm run dev Note: If css or tailwindcss changes fail to apply, first try re-running the dev server.

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── Card.astro
│   ├── layouts/
│   │   └── Layout.astro
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where the Astro and Svelte components are stored.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

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

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

👀 Want to learn more?

Feel free to check the documentation or join the Astro Discord server.