mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 05:36:13 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# Codespaces
 | 
						|
 | 
						|
You can modifiy Uptime Kuma in your browser without setting up a local development.
 | 
						|
 | 
						|

 | 
						|
 | 
						|
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
 | 
						|
 | 
						|

 | 
						|
 | 
						|
## Frontend
 | 
						|
 | 
						|
Since the frontend is using [Vite.js](https://vitejs.dev/), all changes in this area will be hot-reloaded.
 | 
						|
You don't need to restart the frontend, unless you try to add a new frontend dependency.
 | 
						|
 | 
						|
## Backend
 | 
						|
 | 
						|
The backend does not automatically hot-reload.
 | 
						|
You will need to restart the backend after changing something using these steps:
 | 
						|
 | 
						|
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`
 | 
						|
 | 
						|

 |