https://github.com/louislam/uptime-kuma-website
https://github.com/louislam/uptime-kuma-website
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/louislam/uptime-kuma-website
- Owner: louislam
- License: mit
- Created: 2021-09-09T16:52:06.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-05-08T05:30:54.000Z (6 months ago)
- Last Synced: 2025-05-08T06:27:31.780Z (6 months ago)
- Language: PHP
- Homepage: https://uptime.kuma.pet
- Size: 294 KB
- Stars: 14
- Watchers: 5
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Uptime Kuma Website
https://uptime.kuma.pet
## Dev
Install Dependencies
```bash
composer install
```
Run the server
```bash
composer run-script dev
```
## Deploy to Production
First time:
```bash
mkdir -p /opt/stacks/uptime-kuma-website
cd /opt/stacks/uptime-kuma-website
git clone https://github.com/louislam/uptime-kuma-website .
# Create `.env`.
# Rename `.env.sample` to `.env`.
chmod -R 777 cache
# Start the server.
docker compose up -d
# composer maybe not ready yet, run again if failed.
docker compose exec website composer install
```
Update source code:
```bash
cd /opt/stacks/uptime-kuma-website
git fetch --all
git checkout origin/master --force
# run if new dependencies added.
docker compose exec website composer install
```
Alternatively, you can run the following command to update the source code and dependencies in your local machine.
```bash
composer run-script deploy
```