stagit-jayvii.de

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-jayvii.de.git
Log | Files | Refs | README

README.md (1456B)


      1 # Stagit - src.jayvii.de
      2 
      3 Some scripts and assets to run https://src.jayvii.de
      4 
      5 ```
      6 /
      7 |- bin/
      8 |  |- git_create_repo.sh        Creates A bare repository and HTML viewer
      9 |  |- git_post_push.sh          Used as post-push hook in repositories
     10 |  |- git_set_clone_url.sh      Sets necessary URL to clone via http(s)
     11 |  |- git_update_index_html.sh  Updates the repository overview HTML page
     12 |  |- git_update_repo_html.sh   Updates the respository HTML viewer pages
     13 |  '- git_update_repo.sh        Updates git information to clone via http(s)
     14 |
     15 |- assets/
     16 |  |- favicon.png               Favicon and Logo of the page
     17 |  |- index.css                 CSS for the index pages (e.g. the *.git pages)
     18 |  '- style.css                 CSS for the HTML viewer
     19 |
     20 |- 404.html                     404 Page
     21 '- index.html                   Index-Page for the Main site, redirects to /pub/
     22 ```
     23 
     24 There are additional links for CSS and icon files.
     25 
     26 ## Setup
     27 
     28 - Install [Stagit](https://www.codemadness.org/git/stagit/) on your Server
     29 - Use this template: `git clone https://src.jayvii.de/pub/stagit-jayvii.de.git /var/www/git.myserver.com`
     30 - Setup the HTML Root: `mkdir -p /var/www/git.myserver.com/{pub,priv}`
     31 - Setup git-user: `useradd -r -m -U -d /var/www/git.myserver.com -s /bin/bash git`
     32 
     33 Optional:
     34 
     35 You may also setup SSH-credentials for the user or SSH-Auth keys.
     36 You most likely want to setup a webserver (e.g. Apache2) with `/var/www/git.myserver.com` as its root-dir.