inst

command
v0.0.0-...-55bacb3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL