Skip to content

Commit e80baa3

Browse files
committed
initial Github Pages design
1 parent 1796f99 commit e80baa3

40 files changed

+7395
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Deploy GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs-site/**'
9+
- '.github/workflows/gh-pages.yml'
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
concurrency:
18+
group: "pages"
19+
cancel-in-progress: false
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: '20'
32+
cache: 'npm'
33+
cache-dependency-path: docs-site/package-lock.json
34+
35+
- name: Install dependencies
36+
working-directory: ./docs-site
37+
run: npm ci
38+
39+
- name: Build
40+
working-directory: ./docs-site
41+
run: npm run build
42+
43+
- name: Upload artifact
44+
uses: actions/upload-pages-artifact@v3
45+
with:
46+
path: ./docs-site/dist
47+
48+
deploy:
49+
environment:
50+
name: github-pages
51+
url: ${{ steps.deployment.outputs.page_url }}
52+
runs-on: ubuntu-latest
53+
needs: build
54+
steps:
55+
- name: Deploy to GitHub Pages
56+
id: deployment
57+
uses: actions/deploy-pages@v4

docs-site/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
node_modules
2+
dist
3+
dist-ssr
4+
*.local
5+
.DS_Store
6+
7+
# Logs
8+
logs
9+
*.log
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
lerna-debug.log*
15+
16+
# Editor directories and files
17+
.vscode/*
18+
!.vscode/extensions.json
19+
.idea
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

docs-site/CONNECTION-FIXED.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# 🔧 Site Connection Fixed!
2+
3+
## ✅ Issue Resolved
4+
5+
The dev server is now running successfully!
6+
7+
## 🌐 **New URL**
8+
9+
Your site is now accessible at:
10+
```
11+
http://localhost:5174/EasyEdit/
12+
```
13+
14+
**Note:** The port changed from **5173** to **5174** because port 5173 was already in use.
15+
16+
## 📊 Server Status
17+
18+
```
19+
✅ Server running: YES
20+
✅ Port: 5174
21+
✅ URL: http://localhost:5174/EasyEdit/
22+
✅ Status: Ready and responding
23+
```
24+
25+
## 🎯 What Happened
26+
27+
Port 5173 was already in use by another process, so Vite automatically found the next available port (5174) and started there instead.
28+
29+
This is normal behavior when:
30+
- Another dev server is running
31+
- A previous process didn't close properly
32+
- Another application is using the port
33+
34+
## 🌐 Access Your Site
35+
36+
**Open in your browser:**
37+
```
38+
http://localhost:5174/EasyEdit/
39+
```
40+
41+
Or use the Simple Browser in VS Code (already opened for you).
42+
43+
## 🔄 If You Want to Use Port 5173
44+
45+
If you prefer to use port 5173, you can:
46+
47+
1. **Kill the process using port 5173:**
48+
```bash
49+
lsof -ti:5173 | xargs kill -9
50+
```
51+
52+
2. **Restart the dev server:**
53+
```bash
54+
cd docs-site
55+
npm run dev
56+
```
57+
58+
3. **Or specify a specific port:**
59+
```bash
60+
npm run dev -- --port 3000
61+
```
62+
63+
## 📝 Quick Commands
64+
65+
```bash
66+
# Check what's on port 5174
67+
lsof -i :5174
68+
69+
# Stop the current server
70+
# Press Ctrl+C in the terminal
71+
72+
# Restart on a different port
73+
npm run dev -- --port 8080
74+
```
75+
76+
## ✅ Everything Working Now
77+
78+
- ✅ TypeScript errors fixed
79+
- ✅ Dev server running
80+
- ✅ Site accessible at http://localhost:5174/EasyEdit/
81+
- ✅ All pages loading correctly
82+
- ✅ Hot reload working
83+
84+
## 🎉 You're All Set!
85+
86+
Navigate to **http://localhost:5174/EasyEdit/** and explore your new documentation site!
87+
88+
---
89+
90+
**Current Status:** Server running on port **5174**

0 commit comments

Comments
 (0)