mkpis icon indicating copy to clipboard operation
mkpis copied to clipboard

Installation steps

Open godd9170 opened this issue 3 years ago • 3 comments

Hi there,

I'm getting a lot of value out of this project. I am not a go user however so getting this installed wasn't immediately apparent to me. I was able to get it with:

go get github.com/jmartin82/mkpis@latest
cd $GOPATH/pkg/mod/github.com/jmartin82/[email protected]/cmd/cli/
go install .

but that installs it with the name cli. Not to mention it doesn't feel like this is the intended process. Can you let me know the best way to install? I'll update the readme if so.

godd9170 avatar Apr 15 '21 13:04 godd9170

I managed to figure something out, pretty new to go so not sure if it is the correct way but it generated a cli executable and seems to work 👍🏻 (I'm on Ubuntu and first installed apt install golang-go

git clone <repo>
cd mkpis/cmd/cli
go build
./cli -owner <owner> -repo <repo>

dogmatic69 avatar Dec 18 '21 08:12 dogmatic69

@dogmatic69 Are you able to get variables read from .env when running with your commands?

FranciscoPalaciosA avatar Jan 27 '22 01:01 FranciscoPalaciosA

where .env is located ?

Usamaef avatar Mar 08 '23 07:03 Usamaef