velxio/frontend/public/boards
David Montero Crespo 531c337d19 fix(install): unblock self-hosting + drop forced wokwi clones
Resolves several install pain points reported by users (#108, #120) and
removes the obligatory upstream-clone step that confused contributors and
slowed down every Docker build.

Install fixes:
- nginx: server_name → catch-all default_server, drop Debian's stock site
  so reverse-proxied users no longer get the "Welcome to nginx" page.
- entrypoint: auto-generate SECRET_KEY at first boot, persisted under
  data/.secret_key. backend/.env is now optional in docker-compose.yml.
- backend: add greenlet>=3.0.0 (SQLAlchemy async dep that was missing on
  some Python builds — caused uvicorn startup failures on WSL).

Wokwi libs come from npm:
- @wokwi/elements 1.9.2, avr8js 0.21.0, rp2040js 1.3.2 are pinned in
  frontend/package.json. Vite aliases removed.
- Dockerfile.standalone no longer clones avr8js / rp2040js / wokwi-elements
  / wokwi-boards. Frontend stage is just COPY + npm install + build:docker.
- Board SVGs vendored under frontend/public/boards/ (10 deduped against
  existing files, 2 truly new). third-party/wokwi-* clones become reference-
  only credits — generate-component-metadata.ts skips gracefully when absent.

Production config split out:
- docker-compose.prod.yml, deploy/nginx.prod.conf, nginx-host-velxio*.conf,
  update-third-party.bat removed. Production deployment lives in its own
  repo: https://github.com/velxio/velxio-prod (host nginx + HTTPS + backups
  + pinned upstream commit).

Verified locally: 1161 frontend tests pass, build:docker completes clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 00:04:11 -03:00
..
Raspberry_Pi_3.svg Refactor code structure for improved readability and maintainability 2026-03-16 14:22:23 -03:00
arduino-mega.svg Add SVG files for Arduino Nano and Arduino Uno boards 2026-03-23 12:19:25 -03:00
arduino-nano-esp32.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
arduino-nano.svg Add SVG files for Arduino Nano and Arduino Uno boards 2026-03-23 12:19:25 -03:00
arduino-uno.svg feat: Mark subprojects as dirty in QEMU, RP2040, and Wokwi elements libraries 2026-03-23 12:51:25 -03:00
esp32-c3.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
esp32-cam.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
esp32-devkit-c-v4.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
esp32-devkit-v1.svg fix(install): unblock self-hosting + drop forced wokwi clones 2026-05-04 00:04:11 -03:00
esp32-s3.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
esp32c3-rom.bin chore: clean up empty code change sections in the changes log 2026-03-17 22:12:01 -03:00
esp32c3-supermini.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
pi-pico-w.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
pi-pico.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
wemos-lolin32-lite.svg fix(install): unblock self-hosting + drop forced wokwi clones 2026-05-04 00:04:11 -03:00
xiao-esp32-c3.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00
xiao-esp32-s3.svg Refactor code structure for improved readability and maintainability 2026-03-15 23:15:38 -03:00