Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
command
docs
env
openvpn
pipeline
windows
.gitignore
README.md
install.agent.config.json
install.agent.linux.config.json
install.client.config.json
install.client.linux.config.json
installer.agent.config.json
installer.client.config.json
main.go

README.md

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Install Golang. Make sure that $GOPATH/bin is added to system path $PATH.

Installation steps

Clone the dapp-openvpn repository using git:

git clone https://github.com/Privatix/dapp-openvpn.git
cd dapp-openvpn
git checkout master

Build inst package:

go get -d github.com/Privatix/dapp-openvpn
go get github.com/rakyll/statik

go generate ./...

cd inst
GIT_COMMIT=$(git rev-list -1 HEAD)
GIT_RELEASE=$(git tag -l --points-at HEAD)

go build -o $GOPATH/bin/installer -ldflags "-X main.Commit=$GIT_COMMIT -X main.Version=$GIT_RELEASE"

Usage

Place installer and installer.config.json in the appropriate folder, according to the package distribution folder structure.

Configurate installer.config.json (see details on the configuration description).

Simply run installer <COMMAND>

installer or installer --help will show usage and a list of commands:

Usage:
	installer [command] [flags]
Available Commands:
	install     Install product package
	remove      Remove product package
	run         Run service
	start       Start service
	stop        Stop service
Flags:
	--help      Display help information
	--version   Display the current version of this CLI
Use "installer [command] --help" for more information about a command.

More information about installation.

Contributing

Please read CONTRIBUTING.md for details of our code of conduct and of the process of submitting pull requests.

Versioning

We use semantic versioning, see available versions.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GPL-3.0 License - see the COPYING file for details.

You can’t perform that action at this time.