run instructions
This commit is contained in:
22
README.md
22
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
|
||||
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user