Skip to content

Commit 02e4b76

Browse files
Node version, update readme
1 parent 37231e2 commit 02e4b76

File tree

4 files changed

+42
-1
lines changed

4 files changed

+42
-1
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Node
3232
uses: actions/setup-node@v4
3333
with:
34-
node-version: 23
34+
node-version-file: .nvmrc
3535
cache: "npm"
3636
- name: Install dependencies
3737
run: npm ci

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
23.5.0

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
23.5.0

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
11
# Code Café Community website
22

33
:construction: Currently under construction :construction:
4+
5+
## Prerequisites for Contributing
6+
7+
This project requires the following:
8+
9+
- Node version `23.5.0`
10+
11+
### Setting Up Node.js Version
12+
13+
To ensure compatibility, please use [nvm](https://github.com/nvm-sh/nvm) or a similar tool to manage Node versions.
14+
15+
#### Using nvm
16+
17+
1. Install nvm if you don’t already have it: https://github.com/nvm-sh/nvm#installing-and-updating.
18+
2. Run the following command in the project directory:
19+
```bash
20+
nvm use
21+
```
22+
23+
If you don’t have Node.js 23.5.0 installed, nvm will prompt you to install it.
24+
25+
run:
26+
27+
```bash
28+
nvm use 23.5.0
29+
```
30+
### Install Dependencies
31+
32+
Once the correct Node.js version is set up, install the project's dependencies:
33+
34+
```bash
35+
npm install
36+
```
37+
38+
### Start the Development Server
39+
40+
```bash
41+
npm run dev
42+
```

0 commit comments

Comments
 (0)