1.5 KiB
1.5 KiB
This devcontainer provides a development environment for the Otter Tauri app.
What it includes
- Node 24 (from base image)
- pnpm (via Corepack)
- Rust (installed with rustup, stable toolchain)
- @tauri-apps/cli (global npm install)
just(installed viacargo install just)- Linux libraries required by Tauri: libwebkit2gtk, libssl, GTK, appindicator, etc.
How to use
- Open this repository in VS Code.
- When prompted, reopen in container. If not prompted: Command Palette → Remote-Containers: Reopen in Container.
- After the container builds, the
postCreateCommandwill run: it enables Corepack, activatespnpm, runspnpm installandcargo fetch.
Notes
- If you need additional system libraries for your distribution, edit
Dockerfile. - Forwarded ports:
5173(Vite dev server)5900(VNC server - direct VNC connection)6080(noVNC web interface - access via browser)
justis available in the container; runjustto execute repository tasks.
VNC / noVNC (Remote Desktop)
- This devcontainer includes a headless X11 environment with XFCE4 desktop.
- To start VNC: Run
just start-vncin the terminal - To stop VNC: Run
just stop-vnc - Access the desktop via:
- Browser (recommended): http://localhost:6080/vnc.html
- VNC client: Connect to
localhost:5900with passworddevpass
- Default VNC password:
devpass(set viaVNC_PASSWORDenvironment variable) - If you see "Port 6080 already in use", the noVNC service is already running.