This project is the Astro migration of the VigoTech website.
| Command | Action |
|---|---|
pnpm install |
Install dependencies |
pnpm dev |
Start local dev server |
pnpm dev --mockEvents |
Start dev with synthetic upcoming events |
pnpm generate:data |
Refresh public/vigotech-generated.json |
pnpm check |
Run Astro checks |
pnpm build |
Type-check and build static site |
By default, the site reads source files from public/:
public/vigotech.jsonpublic/vigotech-generated.jsonpublic/friends.json
Run pnpm generate:data to rebuild public/vigotech-generated.json from
public/vigotech.json using the legacy VigoTech source fetchers.
-
VIGOTECH_MOCK_EVENTS- Used in development to generate synthetic upcoming events when real events are not available.
- Automatically set by
pnpm dev --mockEvents.
-
VIGOTECH_CONFIG_DATA_DIR- Optional override for local source JSON directory.
- Default:
public. - Used for
vigotech.jsonandfriends.json.
-
PUBLIC_BASE_PATH- Optional base path for subpath deployments.
- Example:
PUBLIC_BASE_PATH=vigotech-astroproduces URLs under/vigotech-astro/. - Leave empty for root deployments.
-
PUBLIC_NOINDEX- Optional search-engine opt-out for non-production deployments.
- Set to
trueto emit<meta name="robots" content="noindex, nofollow">on every page. - Recommended for temporary test deployments.
-
VIGOTECH_GENERATED_DATA_DIR- Optional override for generated JSON directory.
- Default:
public. - Used only for
vigotech-generated.json.
-
EVENTBRITE_OAUTH_TOKEN- Optional token used while generating upcoming events from Eventbrite.
- Used by
pnpm generate:dataand the Pages workflow.
-
YOUTUBE_API_KEY- Optional API key used while generating
videoListentries from YouTube. - Used by
pnpm generate:dataand the Pages workflow.
- Optional API key used while generating
-
GOOGLE_CALENDAR_API_KEY- Used by
/api/calendar.jsonto fetch events from VigoTech public Google Calendar. - If omitted, the Axenda block still renders and keeps the iCal download link, but no live events are shown.
- Used by
- Group active/inactive is now manual.
- Set
inactive: truein source data for archived groups.
Copy .env.example to .env and customize values for local work.