uptime-kuma/.devcontainer
Louis Lam 084cf01fcd
Add support for Codespaces (#3432)
* Create devcontainer.json

* WIP

* WIP

* WIP

* Create README.md

* Try to fix cypress issue

* Add extensions

* WIP

* Minor
2023-07-17 14:54:40 +08:00
..
devcontainer.json Add support for Codespaces (#3432) 2023-07-17 14:54:40 +08:00
README.md Add support for Codespaces (#3432) 2023-07-17 14:54:40 +08:00

Codespaces

Now you can modifiy Uptime Kuma on your browser without setting up a local development.

image

  1. Click Code -> Create codespace on master
  2. Wait a few minutes until you see there are two exposed ports
  3. Go to the 3000 url, see if it is working

image

Frontend

Since it is using Vite.js, all frontend changes will be hot-reloaded. You don't need to restart the frontend, unless you try to add a new frontend dependency.

Restart Backend

Sometimes you need to restart the backend after changed something.

  1. Click Terminal
  2. Click Codespaces: server-dev in the right panel
  3. Press Ctrl + C to stop the server
  4. Press Up to run npm run start-server-dev

image