diff options
| author | Joe Carstairs <me@joeac.net> | 2025-12-12 14:47:04 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-12-12 14:47:04 +0000 |
| commit | fa8948da138f949564ab0124078eb0da3bb70562 (patch) | |
| tree | 08dd3428b1588588f5ff2468f35e224735eb000b | |
| parent | ed6a6428a34aea00e57f7eaeda565fc72ab93390 (diff) | |
run instructions
| -rw-r--r-- | README.md | 22 | ||||
| -rw-r--r-- | package.json | 4 |
2 files changed, 22 insertions, 4 deletions
@@ -4,8 +4,26 @@ Joe Carstairs' personal website 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 diff --git a/package.json b/package.json index 64e001b..3a62ae3 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "private": "true", "scripts": { "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", - "preview": "cd cd website && webiste && astro preview", + "preview": "cd website && astro preview", "astro": "cd website && astro" }, "engines": { |
