mirror of
https://github.com/Vale54321/schafkop-neu.git
synced 2025-12-15 11:29:32 +01:00
feat: integrate Tailwind CSS for improved styling and layout
- Added Tailwind CSS and its Vite plugin to the frontend project. - Updated App.svelte to enhance UI with Tailwind classes, including a new layout for the serial monitor and command tester. - Improved logging functionality by increasing log history and adding more detailed log messages. - Refactored SendBox.svelte for consistent styling with Tailwind. - Enhanced Pico firmware to support structured event logging and command parsing. - Updated README_PICO_SERIAL.md to provide comprehensive documentation on serial communication and backend integration. - Added .dockerignore to optimize Docker builds by excluding unnecessary files.
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
services:
|
||||
frontend:
|
||||
build: .
|
||||
app:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: frontend/Dockerfile
|
||||
container_name: schafkop-app
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
# Optionally set SERIAL_PORT or PICO_SERIAL_PORT for auto-open
|
||||
# - SERIAL_PORT=/dev/serial0
|
||||
# - SERIAL_BAUD=115200
|
||||
ports:
|
||||
- "80:80"
|
||||
- "80:3000"
|
||||
# Uncomment and adjust one of the following for hardware access on a Pi:
|
||||
# devices:
|
||||
# - /dev/serial0:/dev/serial0
|
||||
# - /dev/ttyACM0:/dev/ttyACM0
|
||||
|
||||
Reference in New Issue
Block a user