You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uptime-kuma/.devcontainer
Louis Lam 8e72d6f534
Fix codespace url (#3436)
1 year ago
..
README.md Add support for Codespaces (#3432) 1 year ago
devcontainer.json Fix codespace url (#3436) 1 year ago

README.md

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