jkomoros / sudoku

A sudoku puzzle solver, generator, and difficulty-rater built in Go
Apache License 2.0
5 stars 1 forks source link

How can i run this Project #314

Open afkcodes opened 2 years ago

afkcodes commented 2 years ago

First of all thanks Alex for this amazing project, i am new to go and i tried cloning this repo and go get github.com/jkomoros/sudoku but still dokugen command is unknown a small heads up here would be helpful

jkomoros commented 2 years ago

It's been years since I've touched this project, but I think if you run go get github.com/jkomoros/sudoku and then, sitting in the sudoku repo, run go install ./... it should work. (These instructions might be out of date because of how Go handles modules). Let me know if that works!

afkcodes commented 2 years ago

Thanks, Alex, I tried the instructions here is the output, I am noob in GO so finding it a bit hard to understand, but seems like all went fine

❯ go install ./...
go: downloading github.com/boltdb/bolt v1.3.1
go: downloading github.com/gosuri/uiprogress v0.0.1
go: downloading github.com/gosuri/uitable v0.0.4
go: downloading github.com/mitchellh/go-wordwrap v1.0.1
go: downloading github.com/nsf/termbox-go v1.1.0
go: downloading github.com/gonum/stat v0.0.0-20181125101827-41a0da705a5b
go: downloading github.com/skelterjohn/go.matrix v0.0.0-20130517144113-daa59528eefd
go: downloading github.com/ziutek/mymysql v1.5.4
go: downloading github.com/fatih/color v1.10.0
go: downloading github.com/mattn/go-runewidth v0.0.12
go: downloading github.com/gonum/matrix v0.0.0-20181209220409-c518dec07be9
go: downloading github.com/gonum/floats v0.0.0-20181209220543-c233463c7e82
go: downloading github.com/mattn/go-colorable v0.1.8
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/rivo/uniseg v0.1.0
go: downloading golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7
go: downloading github.com/gosuri/uilive v0.0.4
go: downloading github.com/gonum/internal v0.0.0-20181124074243-f884aa714029
go: downloading github.com/gonum/lapack v0.0.0-20181123203213-e4cdc5a0bff9
go: downloading github.com/gonum/blas v0.0.0-20181208220705-f22b278b28ac

what would be the next step

Please don't abandon this project, this is such an awesome project there are not a lot of generators based on difficulty and human solvers. I know you will have your own responsibilities that are more important, but this is just a request even if we get a quarterly update to this.

jkomoros commented 2 years ago

OK just got a chance to poke around, I think go install github.com/jkomoros/sudoku/...@latest should work (assuming you've already installed Go and added the $GOROOT/bin to your path), at which point you should be able to run it! Let me know if that doesn't work.

afkcodes commented 2 years ago

sure will try and let you know here, thank you so much