This commit is contained in:
tavo-wasd 2023-11-13 17:20:47 -06:00
parent e9357654fe
commit 770ef123af
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
tmp/

View file

@ -6,9 +6,11 @@ Minimal groff web frontend
## Installation
```shell
sudo apt install -y groff-base grap nginx php-fpm
wget "https://gitlab.com/tavo-wasd/groff-web/-/archive/main/groff-web-main.tar.gz"
tar -xvf groff-web-main.tar.gz
cp -r groff-web-main/public /var/www/groff-web
chown -R www-data:www-data /var/www/groff-web
cp groff-web-main/nginx.conf /etc/nginx/sites-available/groff-web.conf
sed -i 's/groff.example.org/MY.DOMAIN.COM/' /etc/nginx/sites-available/groff-web.conf
ln -s /etc/nginx/sites-available/groff-web.conf /etc/nginx/sites-enabled