erik / hotpot

A spicy little heatmap renderer and tile server.
GNU General Public License v3.0
15 stars 1 forks source link

hotpot command not found #1

Closed TylerHext closed 10 months ago

TylerHext commented 10 months ago

I'm trying to follow the Quick Start docs to test the app locally. After cloning the repository I'm unable to run hotpot import as the command is not recognized.

$ hotpot --help

zsh: command not found: hotpot

Is there a step between cloning the repository and running the quick start that I am missing?

TylerHext commented 10 months ago

I resolved this with the following steps:

Is there a workaround so I don't need to prepend the hotpot command with ./ ? Is working from src/debug the proper workflow?

erik commented 10 months ago

Thanks for giving this a try! You might be the first person to go through the README other than myself, so you might encounter some rough edges.

Basically, you would need to move the built executable to somewhere on your PATH. Without knowing your particular environment, one option would be to cp ./path/to/hotpot /usr/local/bin/hotpot.

I'd also suggest using cargo build --release and copying the executable from ./target/release instead. I can update the README to make these steps more clear.

TylerHext commented 10 months ago

Worked perfectly. Thanks for the help!