Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
Ship shared projects and CAD reliability updates
This commit is contained in:
@@ -117,7 +117,11 @@ docker compose -f deploy/docker/compose-ghcr.yaml up -d
|
||||
#### Standalone (Prebuilt)
|
||||
|
||||
```bash
|
||||
docker run -d --name sketchforge --restart unless-stopped -p 3000:80 ghcr.io/formsmith746/sketchforge-3d:latest
|
||||
docker run -d --name sketchforge --restart unless-stopped \
|
||||
-p 3000:3000 \
|
||||
-e SKETCHFORGE_SHARED_PROJECTS_DIR=/data/projects \
|
||||
-v sketchforge-shared-projects:/data/projects \
|
||||
ghcr.io/formsmith746/sketchforge-3d:latest
|
||||
```
|
||||
|
||||
After running, open this on the same computer:
|
||||
@@ -128,6 +132,27 @@ http://127.0.0.1:3000/
|
||||
|
||||
If that works, SketchForge is running.
|
||||
|
||||
### Shared Docker Projects
|
||||
|
||||
Docker deployments include a shared `.skf` project library. Private projects still autosave in each user's browser. The **Shared** dashboard section lists files stored in `/data/projects`, and **Export → SKF → Save to shared** writes the current project there.
|
||||
|
||||
Compose uses the persistent `sketchforge-shared-projects` volume by default. To use a directory on the Docker host instead, set `SKETCHFORGE_SHARED_PROJECTS_VOLUME` before starting Compose:
|
||||
|
||||
Windows PowerShell:
|
||||
|
||||
```powershell
|
||||
$env:SKETCHFORGE_SHARED_PROJECTS_VOLUME = "C:/SketchForge/shared-projects"
|
||||
docker compose -f deploy/docker/compose.yaml up --build -d
|
||||
```
|
||||
|
||||
Linux or macOS:
|
||||
|
||||
```bash
|
||||
SKETCHFORGE_SHARED_PROJECTS_VOLUME=/srv/sketchforge-projects docker compose -f deploy/docker/compose.yaml up --build -d
|
||||
```
|
||||
|
||||
Opening a shared file creates a private local working copy. Saving back checks the server revision first; if another user has changed the file, SketchForge refuses to overwrite it and asks the user to reload or save with another name. This is shared file storage, not simultaneous live editing.
|
||||
|
||||
### Let Other Computers Join
|
||||
|
||||
Other computers on the same Wi-Fi or LAN need the server computer's local IP address.
|
||||
|
||||
Reference in New Issue
Block a user