Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/louislam/uptime-kuma-website
https://github.com/louislam/uptime-kuma-website
Last synced: about 2 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 (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T20:42:51.000Z (4 months ago)
- Last Synced: 2024-09-17T02:11:34.035Z (4 months ago)
- Language: PHP
- Homepage: https://uptime.kuma.pet
- Size: 354 KB
- Stars: 12
- Watchers: 6
- Forks: 5
- Open Issues: 3
-
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
```