Skip to content

Getting Started

Bennett Wendorf edited this page Jan 16, 2022 · 19 revisions

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.

1. Installation

1.1 Clone the repo

   git clone https://github.com/Bennett-Wendorf/Kivy-Raspi-Desktop-App.git

1.2 Install dependencies

Use pipenv to install the requirements in a virtual environment

    pipenv install

OR

Manually install requirements using pip

    pip install <requirements from Pipfile>

1.3 Create .secrets.toml

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.

1.4 Set up OpenWeatherMap API Key

See the Set up OpenWeatherMap API page for instructions on this.

1.5 Set up Microsoft App ID

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.

1.6 Set up Spotify API

See the Set up Spotify API page for instructions on this.

1.7 Modify Settings

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.

1.8 Run the app

If pipenv was used:

    pipenv run python main.py

OR

If not, just run:

    python main.py

Clone this wiki locally