Skip to content

Tiger66639/gohst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gohst

A webhosting platform powered by golang

Created for the sake of learning and memes

Installation & Running

Prerequisite: go must be installed and nginx or apache must listen for fcgi on port 8000

To install, simply run the following

$ go get github.com/Tiger66639/gohst
$ cd $GOPATH/src/github.com/Tiger66639/gohst && go install

Once this has been done, cd into the directory containing your static and template directories then run the following:

$ gohst

This is excellent for running inside screen sessions and whatnot. The preferred method to run is in the following manner:

#!/bin/bash
if [ "$(pidof gohst)" ]
then
    killall gohst
fi
gohst > log 2> err &

You may also visit cosban.net which will always be running the latest version of gohst.

About

Web server powered by golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages