If you don't see a download option for the platform of your choice, or you just prefer running from source for other reasons, you can follow these steps to start the application:
- Download the Python 3.x installation package for your platform: https://www.python.org/downloads/
- Install Python 3.x
- On the command line:
pip install --upgrade pip
(On Ubuntu usesudo -H
andpip3
instead ofpip
) - On the command line:
pip install PyQt5
(On Ubuntu usesudo -H
andpip3
instead ofpip
)
- Windows: At the time of writing you need to use PyQt 5.9 rather than 5.10 as there is a strange bluetooth error for 5.10
pip install PyQt5==5.9.2
- Download the project files from GitHub, by clicking on the green "Clone or download" button and then "Download ZIP"
- Unzip the downloaded file
- Change directory to where the software files have been extracted
- Type and run
python mindfulness-at-the-computer.py
on Windows orpython3 mindfulness-at-the-computer.py
on GNU/Linux systems
- Install python:
brew install python3
- Download the project files from GitHub, by clicking on the green "Clone or download" button and then "Download ZIP"
- Change directory to where the software files have been extracted
- create a virtual environment:
python3 -m venv ./venv
. You should now have a venv folder in your project - activate this venv:
source ./venv/bin/activate
. You can test whether you are using the right python now by doing:which python
andwhich pip
. You should be seeing the python and pip from the ./venv/bin folder - install dependencies in this environment:
pip install -r requirements.txt
- Type and run
python mindfulness-at-the-computer.py
You can create a shortcut by right clicking the .exe file for the application and choosing "Send to" and then "Desktop (create shortcut)"
For desktop systems that are compatible with the freedesktop standard - such as Gnome and KDE - you can use the bwb.desktop file included in the source (If using a file manager, such as Gnome File Manager, you may see the name displayed as "Well-being Diary" rather than "bwb.desktop") to make the application visible in any start-menu-like menu. In Lubuntu, this is called the "main menu" and it's shown when the button in the lower left is clicked. "Vanilla" Ubuntu (ordinary) may not have a menu like this.
To use this file:
- Edit the
mindfulness-at-the-computer.desktop
file (from the varia/ directory) and change the paths to match the path that you are using - Copy the
mindfulness-at-the-computer.desktop
file to your desktop or to any place from where you want to be able to start the application - Copy the
mindfulness-at-the-computer.desktop
file to/usr/share/applications/
usingsudo