Build and deploy user-facing frontend (gitea)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 1fef62f6e9 etc/gitea/conf/app.ini : asciidoctor images-as-data-uri 8 months ago
etc etc/gitea/conf/app.ini : asciidoctor images-as-data-uri 8 months ago
local_patches remove patches, they are in our gitea branch (codeberg) now 11 months ago
var/www/pages Remove Google Fonts link 10 months ago
.gitignore STL previewer (#31) 8 months ago
Makefile STL previewer (#31) 8 months ago format :) 11 months ago
codeberg-favicon.svg Add white background to the favicon & fix filename in Makefile 10 months ago
codeberg-white.svg Trim codeberg-dark.svg and rename it to codeberg-white.svg 10 months ago
codeberg.svg replace two old logo svg files 10 months ago Intial commit 2 years ago : fix owner for fresh install 10 months ago
preseed.cfg add missing preeseed.cfg 2 years ago

Build gitea for or local testing in VM or on dedicated testing server

Assets and config files

Please see for details:

etc/systemd/system/gitea.service  ## Systemd service file
etc/gitea/public/                 ## Public web files, CSS, fonts etc
etc/gitea/public/img/             ## Static images
etc/gitea/templates/              ## Templates for gitea
etc/gitea/conf/app.ini            ## Gitea config
var/www/pages                     ## Codeberg Pages PHP source


You need all the tools required to build gitea (check out the gitea build instructions for details), and inkscape and imagemagick installed for image format conversion as part of the build process.

Build KVM node for local testing

You can use the deploy Makefile described below to deploy locally (configuration and binary files are installed into /data/ and /etc/gitea), a dedicated server, or a locally running virtual machine.

If a local virtual machine is sufficient for testing (in most cases it is), you can use this script to create your VM. Take a look into the script and check out the KVM documentation for details.

## expects virt-install configured with networking bridge interface br0 to make ${HOSTNAME_FQDN} visible in local network

Build and deploy to VM or live server

The deployment will execute a number of scp+ssh calls to the target host. To avoid typing the ssh password again and again, consider using ssh-agent+ssh-add.

To build gitea and deploy to remote host, installing local templates, images, and assets:

## locally:                 HOSTNAME_FQDN=localhost
## on VM or testing server: HOSTNAME_FQDN=<hostname>	## the hostname of your VM
## live:          
make HOSTNAME_FQDN=<hostname> deployment