# simpson-web **Repository Path**: beangels/simpson-web ## Basic Information - **Project Name**: simpson-web - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-19 - **Last Updated**: 2025-12-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Environment configuration ------------------------- This project reads endpoints from environment variables (Vue CLI style): - `VUE_APP_API_BASE` → REST API base (default: http://localhost:8080/api) - `VUE_APP_STT_WS` → STT WebSocket (default: ws://localhost:8080/ws) - `VUE_APP_PUSH_WS` → Push WebSocket (default: ws://localhost:8080/ws-push) Create environment files in the project root (same level as package.json): For development (`.env.development`): VUE_APP_API_BASE=http://localhost:8080/api VUE_APP_STT_WS=ws://localhost:8080/ws VUE_APP_PUSH_WS=ws://localhost:8080/ws-push For production (`.env.production`): **IMPORTANT: Use relative paths for nginx proxy** VUE_APP_API_BASE=/api VUE_APP_STT_WS=/ws VUE_APP_PUSH_WS=/ws-push If not using nginx proxy (direct access): VUE_APP_API_BASE=https://your-prod-host/api VUE_APP_STT_WS=wss://your-prod-host/ws VUE_APP_PUSH_WS=wss://your-prod-host/ws-push Build commands -------------- - Dev server: `npm run serve` (uses `.env.development`) - Production build: `npm run build` (uses `.env.production`) **For nginx deployment (recommended):** 1. Create `.env.production` with relative paths: ``` VUE_APP_API_BASE=/api VUE_APP_STT_WS=/ws VUE_APP_PUSH_WS=/ws-push ``` 2. Build: `npm run build` 3. Deploy `dist/` folder to nginx 4. Configure nginx to proxy `/api`, `/ws`, and `/ws-push` to your backend server # simulation-web ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).