Add Git repository and SSH key documentation to README
This commit is contained in:
35
README.md
35
README.md
@@ -135,6 +135,41 @@ ORDER BY starttime ASC
|
|||||||
- **Font**: Inter (sans-serif)
|
- **Font**: Inter (sans-serif)
|
||||||
- **Sizes**: Large for TV readability (38px-48px headers)
|
- **Sizes**: Large for TV readability (38px-48px headers)
|
||||||
|
|
||||||
|
## Git Repository
|
||||||
|
|
||||||
|
This project is version controlled with Git and hosted on Gitea.
|
||||||
|
|
||||||
|
**Repository URL:**
|
||||||
|
- SSH: `ssh://git@localhost:2222/cproudlock/shopfloor-dashboard.git`
|
||||||
|
- HTTP: `http://localhost:3000/cproudlock/shopfloor-dashboard`
|
||||||
|
|
||||||
|
**SSH Key Setup:**
|
||||||
|
|
||||||
|
The repository uses SSH authentication. The SSH key is already configured:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# SSH public key location
|
||||||
|
~/.ssh/id_ed25519.pub
|
||||||
|
|
||||||
|
# Key is registered in Gitea as "AI Key"
|
||||||
|
# User: cproudlock
|
||||||
|
```
|
||||||
|
|
||||||
|
**Common Git Commands:**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Clone the repository
|
||||||
|
git clone ssh://git@localhost:2222/cproudlock/shopfloor-dashboard.git
|
||||||
|
|
||||||
|
# Pull latest changes
|
||||||
|
git pull
|
||||||
|
|
||||||
|
# Commit and push changes
|
||||||
|
git add .
|
||||||
|
git commit -m "Your commit message"
|
||||||
|
git push
|
||||||
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user