Skip to content

Commit 8b2eaa6

Browse files
committed
README: Update instructions to use pnpm
Signed-off-by: Rune Morling <ermo@serpentos.com>
1 parent 45435cf commit 8b2eaa6

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

README.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
1-
TODO: Create main landing site + blog (potentially Astro) for "welcoming site" / project at AerynOS.com
1+
## NodeJS install prerequisites
22

3-
## How to install
3+
Before attempting to compile and show the website locally, please ensure that:
44

5-
npm install astro@5.3.1
6-
pushd node_modules/starlight-blog
7-
patch -i ../../patches/starlight-blog.patch -p1
8-
popd
5+
- NodeJS is installed on your system
6+
- `pnpm` is available and in your path
7+
- with NodeJS installed, you can run the following from your ${HOME} directory:
8+
`npm install pnpm@latest-10`
9+
- Make sure you add `${HOME}/node_modules/.bin` to your shell ${PATH}
10+
- With the above prerequisites satisfied, clone the present repo and cd into the root of it.
11+
- Then run:
12+
```
13+
pnpm import
14+
pnpm install astro@5.3.0
15+
```
916

10-
Example patch output:
17+
## How to build and show the site locally in your browser
1118

12-
$ patch -i ../../patches/starlight-blog.patch -p1
13-
patching file components/Preview.astro
14-
patching file libs/content.ts
15-
patching file package.json
19+
After the above import and install operations have completed successfully on your system, run:
1620

17-
## How to build
21+
pnpm run dev
1822

19-
npm run dev
23+
... and follow the instructions shown.
24+
25+
At this point, any time you edit a page, the changes should show up live in your browser.

0 commit comments

Comments
 (0)