question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create installation methods for non-developers

See original GitHub issue

Right now you pretty much need to be a developer to start using ActivityWatch. (not anymore!)

One easy improvement we could make is to create a bash one-liner that installs ActivityWatch (much like the one-liner used to install brew). In the future (when we leave beta) we’d likely have to distribute installers/packages.

Would require some kind of process management for aw-server and watchers. (we now have aw-qt)

Must do:

  • Linux: Build a portable .zip
  • macOS: Build a portable .zip
  • Windows: Create a portable .zip

May do (secondary goals):

And finally:

  • Put installation instructions in README
<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:7
  • Comments:35 (28 by maintainers)

github_iconTop GitHub Comments

3reactions
Baltixcommented, May 18, 2020

@ErikBjare Please, make normal ActivityWatch deb packages and repository for Ubuntu and Debian systems, I can help you with this task, it’s not hard, see https://wiki.debian.org/Packaging/Intro The main task is to make correct Debian source package and only from this source package you can then build the Debian binary package which is what actually get installed. The source package consists, in its simplest form, of two things: The upstream tarball, renamed to follow a systematic pattern. A debian directory, with any changes made to upstream source, plus all the files created for the Debian package.

If you wanna make useful and correct debian packages then we should create separate packages for activitywatch-server (and maybe one more for activitywatch-server-rust), activitywatch-watchers, activitywatch-systray-qt. Each package should start his service (aw-server, aw-watcher-afk, aw-watcher-window, etc) in user-session either by having .desktop file in /etc/xdg/autostart or with systemd, see https://wiki.archlinux.org/index.php/Systemd/User and https://www.freedesktop.org/software/systemd/man/systemd.special.html#graphical-session.target systemd offers users the ability to manage services under the user’s control with a per-user systemd instance, enabling users to start, stop, enable, and disable their own units. This is convenient for daemons and other services that are commonly run for a single user, such as mpd

Only activitywatch-systray-qt package should depend on QT libraries and this package could depend or recommend activitywatch-server and activitywatch-watchers packages.

I can help you and take some tasks - please just create debian/control and debian/rules according to https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.pdf#Outline0.2.3.15 (you can use dh-make command for this) for each package (activitywatch-server, activitywatch-watchers, activitywatch-systray-qt) or one debian/control and debian/rules file for all packages if you will always distribute all activitywatch components sources in one archive. I can do all other taks - compile and test deb packages, fix packaging issues, create PPA repository and write automated packaging building recipe from git, see for example https://code.launchpad.net/~gnome-shell-extensions/+recipe/gnome-shell-extensions-enhancements and https://help.launchpad.net/Packaging/SourceBuilds

2reactions
freaydcommented, Mar 14, 2019

Hi everyone. The brew formula is now available. You can install it with:

brew cask install activitywatch

Creating a .app would be a nice next step for macOS.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Step by step instructions for setting up a dev environment - Ippon
Here is a high-level overview of best practices for what needs to be installed in order to generate a web application (one lane...
Read more >
The Non-Developers Guide to Git and GitHub - WPMU DEV
Git lets you create, collaborate, and manage projects (code, text, ... To use Git on your resume, you need to install it on...
Read more >
How to Work with Developers: A Guide for Non-Developers
Below, I'll be sharing my (completely unbiased ) perspective on how to work with software developers. My goal is that after reading this ......
Read more >
Installation — Fermipy v1.1.6+dirty documentation
Installing from source can be useful if you want to make your own modifications to the fermipy source code. Note that non-developers are...
Read more >
How to install Rational Developer for i at the latest level ... - IBM
The first two options are the standard installation methods of the ... an install and uses IBM Installation Manager to generate a response ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found