-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
For now, there is no installer or prepackaged installation for this project. This will be coming in the future. For now, follow the installation instructions below.
git clone https://github.com/Bennett-Wendorf/Kivy-Raspi-Desktop-App.git cd Kivy-Raspi-Desktop-AppIf this option is used, it is recommended to also install pyenv to manage python versions that may be different from the one installed by your package manager. Please refer to the Pyenv Github Page for instructions installing.
Use pipenv to install the requirements in a virtual environment
pipenv installOR
Manually install requirements using pip
pip install <requirements from Pipfile>Make a copy of the TEMPLATE.secrets.toml file and rename the copy to .secrets.toml. This is where you will add settings that shouldn't be pushed to a repository, such as API keys.
See the Set up OpenWeatherMap API page for instructions on this.
Most likely, you will not need to do anything here. My app id is included in the MSALHelper.py file, and should work for most Microsoft accounts. However, if you seem to be getting errors with Microsoft authentication, you can follow the steps here.
See the Set up Spotify API page for instructions on this.
Modify any other settings you would like in the settings.toml file. What is listed in that file already is also the default if that particular setting is not specified, with the exception of the lists_to_use setting, which defaults to an empty list.
A web browser must be installed for proper authentication to both Microsoft To Do and Spotify. Make sure that one is installed before trying to run the application. If you're looking for something basic and very lightweight, I highly recommend Midori.
An incorrect time will cause issues with authenticating to Microsoft. By default on RaspiOS, the clock is set up with network time synchronization, so you should be OK there. On other distributions, refer to their documentation for this. Also check out this great article on setting system time in Linux.
If pipenv was used:
pipenv run python main.pyOR
If not, just run:
python main.py