Runlocal

how to run the project on local

Sean2411 Updated

File contents

Overview

  • when run the frontend, use frontend/start-local-dev.sh
  • when run the frontend on local, if ask to choose http or https, or when you see "请选择 (1 或 2): ", select https which is option 2
  • when run the backend, use backend/start-local-dev.sh
  • when run the project on local, we need to run both the frontend and backend

Important: Restart After Code Changes

  • Backend: uses node server.js (no auto-reload). After modifying backend code, you MUST stop (Ctrl+C) and restart ./start-local-dev.sh for changes to take effect.
  • Frontend: Next.js dev server auto-reloads on file changes.

Sean2411/cursor-skills/tree/main/runlocal commit 672f5b202c

Frequently asked questions

npx skillmds@latest add sean2411/runlocal