Welcome to the NTNU CSIE Camp Site project for 2025! This guide will help you get started quickly.
First, you'll need to set up your development environment:
-
Install PNPM (Package Manager):
- Visit: https://pnpm.io/installation
- Follow the instructions for your operating system
-
Install Node.js using PNPM:
pnpm env use -g lts
-
Install Project Dependencies:
pnpm install
To start working on the project:
-
Launch the Development Server:
pnpm dev
This will start a local server, typically at http://localhost:5173 (check your terminal for the exact URL)
-
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!
When you're ready to create a production version:
pnpm build
This will generate optimized files in the build
directory.
If you encounter any issues or have questions:
- Check the project's issue tracker for known problems
- Refer to the documentation for the tools you're using
- Ask a team member or the mentor for guidance
Happy coding! 🎉