version=pmwiki-2.2.130 ordered=1 urlencoded=1 agent=w3m/0.5.3+git20210102 author=jrmu charset=UTF-8 csum= ctime=1597744188 host=38.87.162.47 name=Openbsd.Gotweb rev=8 targets= text=(:redirect Gotweb.Install:)%0aTo import a project into got:%0a%0a[@%0a$ doas pkg_add got%0a$ got init reponame%0a$ export GOT_AUTHOR="YOURNAME %3cYOUR EMAIL>"%0a$ got import -m "Initial import" -r repo-path files/%0a@]%0a%0aTo set up gotweb:%0a%0a[@%0a$ doas pkg_add gotweb%0a@]%0a%0aInside /etc/httpd.conf:%0a%0a[@%0atypes { include "/usr/share/misc/mime.types" }%0aserver "gotweb.example.com" {%0a listen on * port 80%0a root "/htdocs/gotweb"%0a location "/cgi-bin/*" {%0a root "/"%0a fastcgi%0a }%0a location "/*" {%0a directory index "index.html"%0a }%0a}%0a@]%0a%0a[@%0a$ doas mkdir -p /var/www/etc%0a@]%0a%0aInside /var/www/etc/gotweb.conf%0a%0a[@%0agot_site_name "IRCNow Software"%0agot_site_owner "IRCNow"%0agot_logo_url "https://git.ircnow.org"%0a@]%0a%0ayou'll need to have these running:%0a%0a[@%0a$ doas rcctl enable httpd slowcgi%0a$ doas rcctl start httpd slowcgi%0a@]%0a time=1639668970 author:1639668970=jrmu diff:1639668970:1638155138:=1d0%0a%3c (:redirect Gotweb.Install:)%0a host:1639668970=38.87.162.47 author:1638155138=mkf diff:1638155138:1638155096:=45c45,48%0a%3c you'll need to have these running:%0a---%0a> **Remember** to fix this permission bug!%0a> %0a> %0a> Otherwise, you will see this cryptic error message: @@got_opentempfd: Permission denied@@%0a host:1638155138=188.210.114.32 author:1638155096=mkf diff:1638155096:1638154811:=45,48c45,51%0a%3c **Remember** to fix this permission bug!%0a%3c %0a%3c %0a%3c Otherwise, you will see this cryptic error message: @@got_opentempfd: Permission denied@@%0a---%0a> **Remember** to fix this permission bug!%0a> %0a> [@%0a> $ doas chown www:daemon /var/www/got/tmp%0a> @]%0a> %0a> Otherwise, you will see this cryptic error message: got_opentempfd: Permission denied%0a host:1638155096=188.210.114.32 author:1638154811=mkf diff:1638154811:1638154667:=39a40%0a> got_repos_path "/got/public"%0a host:1638154811=188.210.114.32 author:1638154667=mkf csum:1638154667=hmm diff:1638154667:1628480880:=40a41%0a> got_max_commits_display 50%0a42a44,45%0a> got_site_link "repos"%0a> got_logo "got.png"%0a host:1638154667=188.210.114.32 author:1628480880=jrmu diff:1628480880:1612514014:=32a33,34%0a> Inside /var/www/etc/gotweb.conf%0a> %0a34,39d35%0a%3c $ doas mkdir -p /var/www/etc%0a%3c @]%0a%3c %0a%3c Inside /var/www/etc/gotweb.conf%0a%3c %0a%3c [@%0a60c56%0a%3c @]%0a---%0a> @]%0a\ No newline at end of file%0a host:1628480880=38.87.162.8 author:1612514014=miniontoby csum:1612514014=got_author diff:1612514014:1597744188:=6d5%0a%3c $ export GOT_AUTHOR="YOURNAME %3cYOUR EMAIL>"%0a host:1612514014=141.138.217.186 author:1597744188=jrmu diff:1597744188:1597744188:=1,55d0%0a%3c To import a project into got:%0a%3c %0a%3c [@%0a%3c $ doas pkg_add got%0a%3c $ got init reponame%0a%3c $ got import -m "Initial import" -r repo-path files/%0a%3c @]%0a%3c %0a%3c To set up gotweb:%0a%3c %0a%3c [@%0a%3c $ doas pkg_add gotweb%0a%3c @]%0a%3c %0a%3c Inside /etc/httpd.conf:%0a%3c %0a%3c [@%0a%3c types { include "/usr/share/misc/mime.types" }%0a%3c server "gotweb.example.com" {%0a%3c listen on * port 80%0a%3c root "/htdocs/gotweb"%0a%3c location "/cgi-bin/*" {%0a%3c root "/"%0a%3c fastcgi%0a%3c }%0a%3c location "/*" {%0a%3c directory index "index.html"%0a%3c }%0a%3c }%0a%3c @]%0a%3c %0a%3c Inside /var/www/etc/gotweb.conf%0a%3c %0a%3c [@%0a%3c got_repos_path "/got/public"%0a%3c got_max_commits_display 50%0a%3c got_site_name "IRCNow Software"%0a%3c got_site_owner "IRCNow"%0a%3c got_site_link "repos"%0a%3c got_logo "got.png"%0a%3c got_logo_url "https://git.ircnow.org"%0a%3c @]%0a%3c %0a%3c **Remember** to fix this permission bug!%0a%3c %0a%3c [@%0a%3c $ doas chown www:daemon /var/www/got/tmp%0a%3c @]%0a%3c %0a%3c Otherwise, you will see this cryptic error message: got_opentempfd: Permission denied%0a%3c %0a%3c [@%0a%3c $ doas rcctl enable httpd slowcgi%0a%3c $ doas rcctl start httpd slowcgi%0a%3c @]%0a\ No newline at end of file%0a host:1597744188=38.81.163.143