diff options
| -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": { |
