No description
Find a file
2025-01-23 15:09:53 -08:00
.vscode init 2024-01-20 22:55:35 -08:00
public update officer json 2024-12-19 03:10:17 -08:00
src Update EventList.jsx 2025-01-23 14:13:18 -08:00
.gitignore init 2024-01-20 22:55:35 -08:00
astro.config.mjs fix build errors 2024-09-14 02:35:15 -07:00
bun.lock bun 2025-01-23 14:39:25 -08:00
nixpacks.toml Update nixpacks.toml 2025-01-23 15:09:53 -08:00
package.json bun 2025-01-23 14:39:25 -08:00
README.md Update README.md 2024-12-19 03:14:08 -08:00
tailwind.config.mjs added contact page 2024-03-20 01:10:38 -07:00
tsconfig.json added bash slides 2024-03-20 03:23:53 -07:00

IEEE @ UCSD Website

Deployment

This site is automatically deployed to netlify. Pushing to the main branch will trigger a rebuild and deploy.

Contributing

Please create a new branch for development (i.e. [NAME]-dev). Pushing directly to main is not advised, as changes will go straight into production. Once you are ready to merge your changes, create a pull request and request a review from a webmaster.

Setup

  1. Install bun if you haven't already
  2. Clone the repository
  3. Run bun install to install dependencies

Testing

To build the site, run bun run build.

To view the site on your local network, run bun run dev. View the site at localhost:4321.

The site will automatically rebuild on changes as long as the development server is running.

ENV Variables

Create a .env file in the root directory of the project. This file should contain the following variables:

  • CALENDAR_API_KEY
  • PUBLIC_DISCORD_WEBHOOK_LINK
  • PUBLIC_SLACK_WEBHOOK_LINK

If you do not include these variables in the .env file, the site will give you an error.

Project Structure

├── src/
│ ├── components/ # Reusable components
│ ├── data/ # JSON data files
│ ├── layouts/ # Page layouts
│ └── pages/ # Page components
├── public/ # Static assets
└── astro.config.mjs # Astro configuration