You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This website is built with Jekyll and can be served locally for development.
12
+
This website is a static landing page built with HTML, CSS, and JavaScript, powered locally by [Vite](https://vitejs.dev/).
13
13
14
-
### Prerequisites
14
+
### 🧱 Prerequisites
15
15
16
-
- Ruby 2.7.0 or higher
17
-
- Bundler gem
18
-
- For Windows, you can use RubyInstaller: https://rubyinstaller.org/
16
+
- Node.js **v22.20.0** or higher (recommended)
17
+
-[fnm](https://github.com/Schniz/fnm) or [nvm](https://github.com/nvm-sh/nvm) for managing Node versions (optional but helpful)
19
18
20
-
### Setup
19
+
### ⚙️ Setup
21
20
22
21
1.**Install dependencies:**
23
22
```bash
24
-
bundle install
23
+
npm install
25
24
```
26
25
27
26
2.**Start the development server:**
28
27
```bash
29
-
bundle exec jekyll serve
28
+
npm run dev
30
29
```
31
30
32
-
3.**Open your browser and navigate to:**
31
+
3.**Open your browser at:**
33
32
```
34
-
http://localhost:4000
33
+
http://localhost:5173
35
34
```
36
35
37
-
### Development with Live Reload
36
+
### 🔁 Development with Live Reload
38
37
39
-
For automatic browser refresh when files change:
38
+
Vite provides instant hot module replacement (HMR). Any changes to HTML, CSS, or JS will automatically refresh the browser.
40
39
41
-
```bash
42
-
bundle exec jekyll serve --livereload
43
-
```
44
-
45
-
This will start:
46
-
- Main site: http://localhost:4000
47
-
- LiveReload server: http://localhost:35729
48
-
49
-
### Additional Commands
40
+
### 🛠️ Additional Commands
50
41
51
-
-**Build the site (without serving):**
42
+
-**Build the site for production:**
52
43
```bash
53
-
bundle exec jekyll build
44
+
npm run build
54
45
```
55
46
56
-
-**Serve with custom port:**
47
+
-**Preview the production build locally:**
57
48
```bash
58
-
bundle exec jekyll serve --port 3000
49
+
npm run preview
50
+
```
51
+
52
+
-**Serve on a custom port:**
53
+
Edit the `vite.config.js` file:
54
+
```js
55
+
exportdefault {
56
+
server: {
57
+
port:3000
58
+
}
59
+
}
59
60
```
60
61
61
62
-**Stop the server:**
62
-
Press `Ctrl+C` in the terminal where Jekyll is running
63
+
Press `Ctrl+C` in the terminal where Vite is running.
64
+
65
+
### 🧩 Troubleshooting
63
66
64
-
### Troubleshooting
67
+
If you see an error like:
65
68
66
-
If you encounter permission errors during `bundle install`, the project is configured to install gems locally in the `vendor/bundle` directory to avoid system permission issues.
69
+
```
70
+
You are using Node.js 20.11.1. Vite requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.
0 commit comments