Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation steps #2

Open
godd9170 opened this issue Apr 15, 2021 · 3 comments
Open

Installation steps #2

godd9170 opened this issue Apr 15, 2021 · 3 comments

Comments

@godd9170
Copy link

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/mkpis@v0.0.3/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.

@dogmatic69
Copy link

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>

@FranciscoPalaciosA
Copy link

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

@Usamaef
Copy link

Usamaef commented Mar 8, 2023

where .env is located ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants