fixed issues regarding viper and possibility of cli

This commit is contained in:
2021-05-24 20:52:06 +04:00
parent f89e7ccbcb
commit 49cd37624f
3 changed files with 32 additions and 20 deletions

View File

@@ -1,11 +1,16 @@
SHELL := /bin/bash
install:
go build .
./p2p-rendering-computation --SetDefaultConfig
go build -o p2prc
echo '# Paths for p2p rendering and computation' >> ~/.bashrc
echo 'export P2PRC=${PWD}' >> ~/.bashrc
echo 'export ${PWD}:$${PATH}' >> ~/.bashrc
source ~/.bashrc
./p2prc --SetDefaultConfig
build:
go build .
go build -o p2prc
config:
./p2p-rendering-computation --SetDefaultConfig