LeoVasanko
02b3890cd3
Proper error messages on npm and port check failures, avoid leaking asyncio tasks.
2026-09-12 05:50:52 +00:00
LeoVasanko
c25835f467
Rewritten devutil.ProcessGroup with proper handling of subprocess deaths
...
- Terminates instantly when vital process dies (e.g. backend doesn't start)
- Derived of TaskGroup, augmenting its functionality with similar semantics
2026-09-12 04:48:03 +00:00
LeoVasanko
1287ba4077
Load tracerite for devserver script too.
2026-08-31 19:23:07 +00:00
LeoVasanko
a5b7d88a89
Fix typo in devserver.py comment
...
'Tell the everyone' -> 'Tell everyone via environment'.
2026-08-25 23:41:46 +00:00
LeoVasanko
682d70cb23
Cleanup for ALL ruff checks, and re-ruff to target project settings when installing templates, avoiding formatting errors after patching.
2026-03-08 15:25:52 +00:00
LeoVasanko
1aaf040db7
Make devserver backend health check endpoint configurable, preserved in upgrades and optional.
2026-03-07 23:55:10 +00:00
LeoVasanko
fab4108e92
Cleaner devserver help message.
2026-02-11 20:06:36 +00:00
LeoVasanko
f483cf978c
Ruff format
2026-02-10 20:56:06 +00:00
LeoVasanko
d3b6fccce0
The devserver now takes --listen for vite endpoint rather than a positional argument. Changed FRONTEND_URL to VITE_URL and streamlined terminology elsewhere.
2026-02-10 16:09:07 +00:00
LeoVasanko
05fd5c562e
Missing import
2026-02-06 19:35:04 +00:00
LeoVasanko
4bf102579a
Added automatic handling of FastAPI debug mode. Use templating more completely to enable project name as env prefix etc.
2026-02-06 19:05:36 +00:00
LeoVasanko
c300a1a291
Simplified uvicorn running in multiprocess mode, avoiding a crash on Windows when it couldn't setup threads (running from a worker thread).
2026-02-02 21:02:34 +00:00
LeoVasanko
a84041a923
Refactor with new fastapi-vue utility module to run the server, used in CLI main and devserver to run the main app. Default ports made part of templating, so that --ports can be easily specified to fastapi-vue-setup to customize (respects earlier choices when no --ports is specified). New overall default ports 3100, 3200.
2026-02-02 19:56:31 +00:00
LeoVasanko
b7b1920846
Make devserver verify that no servers are already running before starting them.
2026-02-02 16:26:19 +00:00
LeoVasanko
8ccfa1f658
Simplified devserver script, fixed termination on failed npm install.
2026-02-02 15:56:19 +00:00
LeoVasanko
458d798022
Refactored scripts to remove any extra code from build-frontend.py and devserver.py (for better user editability). Individual helper functions can still be imported from scripts/fastapi-vue/ for any customization needs. Removed devmode support from CLI entry point simplifying it. Instead running via FastAPI CLI in dev mode (but it is still easy to modify to use a custom CLI entry).
2026-01-30 18:15:52 +00:00
LeoVasanko
4156eb2db3
Better handling of upgrades, an option to avoid overwriting main and devserver scripts, writing .new.py instead. Error out on unix socket in devserver.
2026-01-21 21:13:23 +00:00
LeoVasanko
3f6559b2db
Simplify devserver script and remove its duplicated parse_endpoint function.
2026-01-18 01:15:34 +00:00
LeoVasanko
6ccba2be9f
Adjust vite args (cleanup, don't clear screen).
2026-01-17 22:20:27 +00:00
LeoVasanko
a2983a62a0
Simplified templating, backend port config on devserver.py, simplified Vue app patches.
2026-01-17 19:51:47 +00:00
LeoVasanko
44e06df66c
Initial commit
2026-01-17 01:53:02 +00:00