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-installer
repository using git:
git clone https://github.com/privatix/dapp-installer.git
cd dapp-installer
git checkout master
Create Gopkg.toml
:
./scripts/toml.sh ./Gopkg.toml.template > ./Gopkg.toml
Build dapp-installer
package:
/scripts/build.sh
Usage
Simply run dapp-installer <COMMAND>
dapp-installer
or dapp-installer --help
will show usage and a list of commands:
Usage:
dapp-installer [command] [flags]
Available Commands:
install Install dapp core and products
update Update dapp core and products
remove Remove dapp core and products
install-products Install products
update-products Update products
remove-products Remove products
status Display dapp installation info
Flags:
--help Display help information
--version Display the current version of this CLI
--verbose Display log to console log
Use "dapp-installer [command] --help" for more information about a command.
Examples
By default, installs dapp core and products:
dapp-installer install -config dapp-installer.config.json
Use -core
flag to install only dapp core without products:
dapp-installer install -config dapp-installer.config.json -core
Installs all products, which contains in product
folder:
dapp-installer install-products -role client -workdir ./client
Use -product
flag to install the specific product (specific product must be in product
folder):
dapp-installer install-products -role client -workdir ./client -product 73e17130-2a1d-4f7d-97a8-93a9aaa6f10d
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
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.