adamwalach/openvpn-web-ui

can it be installed without a docker?

edvalbuena opened this issue · 3 comments

I already have a fine and dandy openvpn setup.

can I install this without the docker?

how to install it on ubuntu server or centos?

Hi, I'm interested in running without docker too, as I already have a working vpn-server running and only need the UI

So I actually figured out how to get it up and running without using docker.
First install golang and beego, then install all go dependencies with go get -d -v ./....
You might export your Go PATHs first (add them to your .bash_profile or similar for persistence):

export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

Then head to your project directory located in Go PATH:

cd $GOPATH/src/github.com/adamwalach/openvpn-web-ui

Executing the following command should get all up and running:

bee run -gendoc=true

It builds an openvpn-web-ui binary which can be executed from then on to be used standalone or with a process manager.

Head to http://localhost:8080 and check if you see the login page.

Login and change your password!!!

username: admin
password: b3secure