Compare commits

..

No commits in common. "c7208a846221a6843fc2caa1adc090da2b2dab24" and "14ef3c9dcd51d0ea7286316fbdfbabe5e8e2bb6a" have entirely different histories.

4 changed files with 9 additions and 24 deletions

View file

@ -1,7 +0,0 @@
#!/usr/bin/env fish
read -P "Install main config [yN] ? " inst
test $inst = "y"; and sudo install -o forgejo -g forgejo -m a=,u=rw -b -D app.ini /etc/forgejo/app.ini
for file in (find custom -type f)
sudo install -o forgejo -g forgejo -m a=,u=rw -D $file /var/lib/forgejo/$file
end

View file

@ -1,7 +1,5 @@
# Forgejo
<https://docs.gitea.io/en-us/administration/config-cheat-sheet/>
Install `app.ini` to `/etc/forgejo/app.ini`.
Install to `/etc/forgejo/app.ini`.
Fill in secrets.
Install `custom` to `/var/lib/forgejo/custom`.

View file

@ -1,11 +0,0 @@
<style>
@import url('https://free.bboxtype.com/embedfonts/?family=FiraGO:200,400,600');
@import url('https://free.bboxtype.com/embedfonts/?family=FiraMono:400,500,700');
:root {
--fonts-proportional: FiraGO, Fira Sans, sans-serif;
--fonts-monospace: Fira Mono, monospace;
--font-weight-bold: 600;
}
</style>

View file

@ -1,4 +1,9 @@
#!/usr/bin/env fish
sudo install -m a=r,u=rw -D nginx.conf /etc/nginx/
sudo install -m a=r,u=rw -D conf/* /etc/nginx/conf/
sudo install -m a=r,u=rw -D sites/* /etc/nginx/sites-enabled/
sudo mkdir -p /etc/nginx
sudo install -m a=r,u=rw nginx.conf /etc/nginx/
sudo mkdir -p /etc/nginx/conf
sudo install -m a=r,u=rw conf/* /etc/nginx/conf/
sudo mkdir -p /etc/nginx/sites-enabled
sudo install -m a=r,u=rw sites/* /etc/nginx/sites-enabled/