Skip to content

Latest commit

Β 

History

History
69 lines (44 loc) Β· 1.84 KB

File metadata and controls

69 lines (44 loc) Β· 1.84 KB

NTNU CSIE Camp Site 2025

Welcome to the NTNU CSIE Camp Site project for 2025! This guide will help you get started quickly.

πŸš€ Getting Started

Step 1: Set Up Your Environment

First, you'll need to set up your development environment:

  1. Install PNPM (Package Manager):

  2. Install Node.js using PNPM:

    pnpm env use -g lts
  3. Install Project Dependencies:

    pnpm install

Step 2: Development Workflow

To start working on the project:

  1. Launch the Development Server:

    pnpm dev

    This will start a local server, typically at http://localhost:5173 (check your terminal for the exact URL)

  2. Make Changes:

    • The site will automatically update when you make changes to the code
    • Check the terminal for any errors if something doesn't work

Tip: Server-side errors and logs will be displayed in the terminal, while client-side errors will appear in the browser console. I've seen many people miss this, so be sure to check both!

πŸ—οΈ Building for Production

When you're ready to create a production version:

pnpm build

This will generate optimized files in the build directory.

πŸ’‘ Need Help?

If you encounter any issues or have questions:

Happy coding! πŸŽ‰