It is built for the satisfying loop: drop a shape, resize it, rotate it, make another shape a hole, group the result, import an STL if primitives are not enough, and export the finished model.
There are three common ways to run SketchForge. If you are not sure which one to choose, use Docker.
| Path | Best for | Difficulty |
| --- | --- | --- |
| Docker / FabLab server | Teachers, classrooms, shared computers, local network hosting | Recommended |
| Local development | Developers who want to edit the code | Medium |
| Manual static hosting | Server admins who cannot use Docker | Advanced |
SketchForge is local-first in all three modes. The app files may be served from a computer or server, but projects stay in each user's browser storage. STL and OBJ exports download through the user's browser. SketchForge does not upload models to a SketchForge cloud service.
4. Extract the ZIP somewhere easy to find, such as your Desktop.
5. Open a terminal in the extracted folder.
On Windows, you can open PowerShell in the folder by opening the folder, clicking the address bar, typing `powershell`, and pressing Enter.
## Docker / FabLab Server (Recommended)
Docker is the easiest way to run SketchForge for a classroom, workshop, or FabLab. It packages the build tools, static website, Nginx server, health check, and restart behavior together.
### What You Need
- Docker Desktop on Windows or macOS, or Docker Engine on Linux
- Docker Compose, which is included with modern Docker Desktop
- This repository downloaded on the server computer
If `docker` is not recognized, install Docker Desktop and open it once before running the commands.
### Start SketchForge
From the SketchForge project folder, run:
```bash
docker compose -f deploy/docker/compose.yaml up --build -d
```
The first start can take a few minutes because Docker builds the app. After it finishes, open this on the same computer:
```text
http://127.0.0.1:3000/
```
If that works, SketchForge is running.
### Let Other Computers Join
Other computers on the same Wi-Fi or LAN need the server computer's local IP address.
On Windows PowerShell, run:
```powershell
ipconfig
```
Look for the `IPv4 Address`, for example:
```text
192.168.1.25
```
Then other computers can open:
```text
http://192.168.1.25:3000/
```
Use your own IP address, not the example one.
### Use a Different Port
If port `3000` is already being used, choose another port such as `8080`.
SKETCHFORGE_PORT=8080 docker compose -f deploy/docker/compose.yaml up --build -d
```
Then open:
```text
http://127.0.0.1:8080/
```
### Stop SketchForge
```bash
docker compose -f deploy/docker/compose.yaml down
```
### Update SketchForge Later
If you used Git:
```bash
git pull
docker compose -f deploy/docker/compose.yaml up --build -d
```
If you downloaded the ZIP, download the newest ZIP, extract it, and run:
```bash
docker compose -f deploy/docker/compose.yaml up --build -d
```
### Docker Troubleshooting
- **`docker` is not recognized**: install Docker Desktop, open it, and try again.
- **Docker says the daemon is not running**: Docker Desktop is closed or still starting.
- **Port already in use**: use another port, for example `8080`.
- **Other computers cannot connect**: check that they are on the same network and that the server firewall allows the chosen port.
- **The page opens but old files appear**: stop and rebuild with `docker compose -f deploy/docker/compose.yaml down`, then `docker compose -f deploy/docker/compose.yaml up --build -d`.
If you already have Node.js installed, the repository also includes shortcuts:
```bash
npm run docker:up
npm run docker:down
```
## Local Development
Use this path if you want to edit SketchForge's code.
Use this only if Docker is not allowed on your server. This path is harder because you must install and maintain Node.js, npm, a static web server, firewall rules, startup behavior, and future updates yourself.