This is simple web service for browse a files written on Go.
- golang
- configure you GOPATH environment variable
$ go get github.com/elemc/fwego
$ go build github.com/elemc/fwego $ go install github.com/elemc/fwego
$ $GOPATH/bin/fwego -root-path=/path/for/share -address="0.0.0.0" -port=80 See $GOPATH/bin/fwego --help for more information
$ git clone git://github.com/elemc/fwego.git
$ cd fwego $ make $ sudo make install
if you need httpd configuration file also run this: $ sudo make install-httpd-conf
if you need nginx configuration file also run this: $ sudo make install-nginx-conf
$ make clean
$ sudo make uninstall
if you have installed httpd config file run this: $ *sudo make uninstall-httpd-conf
if you have installed nginx config file run this: $ *sudo make uninstall-nginx-conf
- sysconfig script /etc/sysconfig/fwego
- systemd unit /usr/lib/systemd/system/fwego.service
- apache configuration file /etc/httpd/conf.d/fwego.conf
- nginx configuration file /etc/nginx/conf.d/fwego.conf
- Change sysconfig script for set root path for share.
- Change ServerName in apache configuration file
- Or change server_name in nginx configuration file
- run fwego: systemctl start fwego
- start or restart httpd: systemctl restart httpd
- or start or restart nginx: systemctl restart nginx
Also you may start systemd unit as standalone service. Change sysconfig variable 'FWEGO_LISTEN' for it.
Please send me bugs and feature request here https://github.com/elemc/fwego/issues
Nothing yet.