Update README.md

This commit is contained in:
Stefan Pejcic 2024-11-13 13:52:01 +01:00 committed by GitHub
parent ee55e4cbdd
commit 1d997be4c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,23 @@
# Screenshots API service for OpenPanel server
Host your own screenshots api for your 'OpenPanel > SiteManager'.
## Installation
We recommend setting at least 2 servers for screenshots and one proxy before it.
Applications run on port 5000 on each server, and proxy handles incomming connections from ports 80 to 5000 on those servers.
```bash
mkdir /home/screenshots
cd /home/screenshots
git init
git remote add -f origin https://github.com/stefanpejcic/OpenPanel
git config core.sparseCheckout true
echo "services/screenshots/" >> .git/info/sparse-checkout
git pull origin master
```
then run INSTALL.sh in that directory.