HUB
Sign inSign up
gitit logo

mambrus/gitit

By mambrus

•Updated 2 days ago

Gitit on Debian 12 * Normal on-line use * Git-server for editing pages distributed

Image
0

88

mambrus/gitit repository overview

⁠Usage

⁠Initial setup (once)

  • Link in $PATH
cd ~/bin
ln -s <this-git>/bin/service.gitit

Alternatively, copy and paste service.gitit⁠ into own control-script.

⁠Existing gitit data

cd <data-dir>
chown -R root:root wikidata

if gitit.conf exists, double-check the following:

$ grep -Ee '^port' gitit.conf
port: 5001 ##<-- Required
$ grep -Ee '^front' gitit.conf
front-page: Front Page
$ grep -Ee '^default-extension' gitit.conf
default-extension: md

if not it will be created for you. Make sure that wikidata/ corresponds to the default settings.

PORT=8082 SPORT=1122 service.gitit start $(pwd)

⁠New gitit

mkdir <somewhere>
PORT=8083 SPORT=1123 service.gitit start $(pwd)
PORT=8082 SPORT=1122 service.gitit start $(pwd)

⁠Access pages

Pages are now available at:

⁠Build-source

Tag summary

Content type

Image

Digest

sha256:b94773ac2…

Size

167.8 MB

Last updated

2 days ago

docker pull mambrus/gitit