About the Project | How to Install
Bitbar Plugin to track Covid-19 cases in the United Kingdom from the MacOS menu bar.
Built with:
1. Installing BitBar
There are two ways to install BitBar on your Mac:
- Use Homebrew:
brew cask install bitbar
. - Or download .app file directly: Get the latest version of BitBar. Then copy it to your Applications folder and run it - it will ask you to (create and) select a plugins folder, do so.
2. Installing Python
- Install Python by following the instructions here.
- Make sure your node exec resides in
usr/local/bin/node
, else you will have to update the path in the script.
3. Installing requests with pip
- Run
sudo -H pip install requests --upgrade
to install the latest version of the requests module
4. Saving this script
- Download the script on your local machine. Make sure you place this file in the same plugin folder which you created while installing Bitbar.
- Go to the plugin folder and run
chmod +x covid-19-uk-tracker.py
- Refresh Bitbar.