Commit graph

7 commits

Author SHA1 Message Date
Yann MAHE
1e6f71b5ba Skip prebaked install when node_modules exists 2025-11-23 10:02:53 -05:00
Sajid Mehmood
1c440c9e1c Use pnpm copy method for Modal compatibility
Add --package-import-method=copy to all pnpm install commands in niteshift-setup.sh.
This ensures packages are copied instead of hard-linked, which is required for
proper functionality in Modal's containerized environment where hard links don't
work across filesystem layers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 15:37:57 -05:00
Yann MAHE
9d7bca80de Warm up Next.js routes after dev server starts
Add a curl request to / after the dev server is ready to pre-compile the main application routes. This triggers Next.js compilation on first access during setup rather than on first user interaction, significantly improving the initial user experience by avoiding 5-10 second compilation delays.

The warm-up is non-blocking - if it fails or times out, the setup continues successfully and routes will compile on first user access as before.
2025-11-14 09:53:27 -05:00
Yann MAHE
97b2735364 skip extra checks 2025-11-13 16:57:20 -05:00
Yann MAHE
0b073dc451 update 2025-11-13 16:44:53 -05:00
Yann MAHE
2d426ed39e USE_PREBAKED_SETUP for niteshift-setup 2025-11-13 15:57:14 -05:00
Sajid Mehmood
e063a177dc
Add niteshift setup script for umami development (#4)
* feat: add niteshift setup script for umami application

* refactor: switch dev setup to use dev server with hot reload instead of production build

* feat: add unified logging to development server output

Allow dev server logs to be written to both /tmp/umami-server.log and NITESHIFT_LOG_FILE when configured, enabling centralized log aggregation.

* refactor: simplify dev server logging to use single log file

Consolidate dual logging logic into single append to LOG_FILE,
simplify error reporting to reference the configured log file,
and remove unnecessary /tmp/umami-server.log references.
2025-11-11 17:27:43 -05:00