docs icon indicating copy to clipboard operation
docs copied to clipboard

Path for aw-server-rust executable doesn't match the docs

Open Game4Move78 opened this issue 9 months ago • 2 comments

When running make build as per the docs it stores in target release not package. The basename of the executable is also aw-server not aw-server-rust.

Related to ActivityWatch/aw-server-rust#500


[!IMPORTANT] Update installing-from-source.rst to correct the Rust server executable path and name.

  • Documentation:
    • Update installing-from-source.rst to correct the path for the Rust server executable from aw-server-rust/target/package/aw-server-rust to aw-server-rust/target/release/aw-server.

This description was created by Ellipsis for 6f6e5c88fa7f0e2907ecd26c39789a1ded5af6d7. It will automatically update as commits are pushed.

Game4Move78 avatar Feb 03 '25 11:02 Game4Move78

Seems we are not mentioning make package in this doc?

That's what puts it there as aw-server-rust: https://github.com/ActivityWatch/aw-server-rust/blob/master/Makefile#L86

The proper fix is probably to mention make package

ErikBjare avatar Feb 03 '25 11:02 ErikBjare

Would also be good to mention make package in another section, but I think it shouldn't be presented as necessary. Assuming you don't want to to run all the steps for packaging and distribution, it would be nice if the docs mentioned that you can run aw-server-rust after make build, providing the correct command.

Game4Move78 avatar Feb 03 '25 12:02 Game4Move78