2026-05-26 23:18:42 +02:00
|
|
|
# SPBR Website
|
|
|
|
|
<p align="center">
|
|
|
|
|
<img src="/.github/assets/banner.png" alt="Readme Bannerr" width="100%" />
|
|
|
|
|
</p>
|
2026-05-12 21:05:12 +02:00
|
|
|
|
2026-05-26 23:18:42 +02:00
|
|
|
### This is our official website's source code! Want to contribute? Submit a PR today!
|
|
|
|
|
|
|
|
|
|
> [!NOTE]
|
|
|
|
|
> Please note that some features will not be available, and we are constantly improving the website.
|
|
|
|
|
|
|
|
|
|
# Setup
|
|
|
|
|
Make sure to install the dependencies:
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-05-14 07:58:04 +02:00
|
|
|
bun install
|
2026-05-12 21:05:12 +02:00
|
|
|
```
|
|
|
|
|
|
2026-05-26 23:18:42 +02:00
|
|
|
## Development Server
|
|
|
|
|
|
|
|
|
|
Start the development server on `http://localhost:3000`:
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-05-14 07:58:04 +02:00
|
|
|
bun run dev
|
2026-05-26 23:18:42 +02:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Production
|
|
|
|
|
|
|
|
|
|
Build the website for production:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
bun run build
|
|
|
|
|
|
2026-05-12 21:05:12 +02:00
|
|
|
```
|
2026-05-26 23:18:42 +02:00
|
|
|
|
|
|
|
|
If you encounter issues when building (eg. missing TS config files,) regenerate the stub files:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
bun run nuxi prepare
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Locally preview the prod build using Bun:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
bun .output/server/index.mjs
|
|
|
|
|
```
|