run instructions

This commit is contained in:
2025-12-12 14:47:04 +00:00
parent ed6a6428a3
commit fa8948da13
2 changed files with 22 additions and 4 deletions

View File

@@ -4,8 +4,26 @@ Joe Carstairs' personal website
Structure: Structure:
├website: My public-facing website ```
└infrastructure: The infrastructure of my website as code /
├── website: My public-facing website
└── infrastructure: The infrastructure of my website as code
```
## Running
To run with Docker or Podman:
```bash
docker build -t joeac-net .
docker run joeac-net [port]:4321
```
To run with Node:
```bash
npm run start
```
## Infrastructure ## Infrastructure

View File

@@ -2,9 +2,9 @@
"private": "true", "private": "true",
"scripts": { "scripts": {
"dev": "cd website && astro dev", "dev": "cd website && astro dev",
"start": "cd website && astro dev", "start": "cd website && astro build && node ./dist/server/entry.mjs",
"build": "cd website && astro build", "build": "cd website && astro build",
"preview": "cd cd website && webiste && astro preview", "preview": "cd website && astro preview",
"astro": "cd website && astro" "astro": "cd website && astro"
}, },
"engines": { "engines": {