-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Bennett Wendorf edited this page Jan 5, 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.
- Clone the repo
git clone https://github.com/Bennett-Wendorf/Kivy-Raspi-Desktop-App.git
- Install dependencies
- Use pipenv to install the requirements in a virtual environment
pipenv install
- Manually install requirements using
pippip install <requirements from Pipfile>
- Use pipenv to install the requirements in a virtual environment
- Make a copy of the
TEMPLATE.secrets.tomlfile 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. - Get a free API Key for weather data at openweathermap.org/api.
- Add this key in
.secrets.tomlunder the setting forapi_keyin theWeather_Widgetcategory.[Weather_Widget] api_key = "<Your Key Here>"
- You can also try to use my API key by removing this setting from the file, but that may lead to throttling issues over time with OpenWeatherMap's free API. It is preferable to get your own key.
- Add this key in
- Set up your app with Microsoft Graph. For the timebeing, I do not know if my
app_idwill work for all users, but feel free to test it by removing that setting in.secrets.toml. Otherwise, you will need to set up a free account and register the app yourself. Check out Microsoft's page for more help with this.- You should get an
app_idfrom this, which should also be added in.secrets.tomlunder the setting forapp_idin theTo_Do_Widgetcategory.[To_Do_Widget] app_id = "<Your App Id Here>"
- You should get an
- Modify any other settings you would like in the
settings.tomlfile. What is listed in that file already is also the default if that particular setting is not specified, with the exception of thelists_to_usesetting, which defaults to an empty list. - Run the app
- If pipenv was used:
pipenv run python main.py
- If not, just run:
python main.py
- If pipenv was used: