F
fu.ling-lang.org
↓ 0 downloadsทะเบียนแพ็กเกจ fu.ling-lang.org — เขียนด้วยภาษา Ling (ไทย) ทั้งหมด
Keywords registry, packages, web, ling, thai
lingfu install fu.ling-lang.orgCode / Files (22)
start_fu.ling-lang.org.bat
@echo off
rem ── fu.ling-lang.org — Ling package registry server ──────────────────────────
rem Serves app.ling (written entirely in Ling/Thai) on 0.0.0.0:6688.
rem The working directory MUST be the project root: app.ling loads its models,
rem controllers, static files, and SQLite DB by relative path.
title fu.ling-lang.org registry (0.0.0.0:6688)
cd /d "%~dp0"
set LING_EXE=C:\Users\User\Programs\ling\target\debug\ling.exe
if not exist "%LING_EXE%" (
echo [error] ling.exe not found at %LING_EXE%
echo Build it with: cargo build --features web --bin ling
pause
exit /b 1
)
echo Starting fu.ling-lang.org on http://0.0.0.0:6688 ...
"%LING_EXE%" run app.ling --listen "0.0.0.0" --port 6688
rem If the server exits (crash / port in use), keep the window so the error is readable.
echo.
echo [server stopped] exit code %errorlevel%
pause