summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2025-12-12 14:47:04 +0000
committerJoe Carstairs <me@joeac.net>2025-12-12 14:47:04 +0000
commitfa8948da138f949564ab0124078eb0da3bb70562 (patch)
tree08dd3428b1588588f5ff2468f35e224735eb000b
parented6a6428a34aea00e57f7eaeda565fc72ab93390 (diff)
run instructions
-rw-r--r--README.md22
-rw-r--r--package.json4
2 files changed, 22 insertions, 4 deletions
diff --git a/README.md b/README.md
index ea434b5..b446240 100644
--- a/README.md
+++ b/README.md
@@ -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": {