Skip to content

Carberra/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carberra Website

The official website for the Carberra YouTube channel.

Development

Prerequisites

Setup

npm install
git config core.hooksPath .githooks

Environment variables

Create a .env file in the project root:

YOUTUBE_API_KEY=your_api_key_here

You will need a Google API key with the YouTube Data API v3 enabled.

Local development

npm run dev

Formatting

npm run format        # Fix formatting
npm run format:check  # Check formatting

Production container

Both Podman and Docker are supported. The examples below use Podman — for Docker, replace podman with docker.

Multi-stage build that compiles the app and runs it with Express:

podman build -t carberra-website .
podman run -d -p 3000:3000 --env-file .env --name carberra-website carberra-website

The production site will be available at http://localhost:3000.