diff --git a/service/tor-weather.md b/service/tor-weather.md index e8863825c430f341068f7deb3c8bc9f4155a5077..8941940e15ed2e5103200b925b93ccf11a3075da 100644 --- a/service/tor-weather.md +++ b/service/tor-weather.md @@ -78,9 +78,11 @@ because tor-weather is managed using [poetry][], there are a few steps necessary ### Installing on the server +1. deploy the `role::weather` Puppet class to the server 1. create a virtual environment: `python3 -m venv tor-weather-venv` and source it: `. tor-weather-venv/bin/activate` 1. install the remaining dependencies from requirements.txt: `pip install -r requirements.txt` -1. the /home/weather/.tor-weather.env file configures the tor-weather application through environment variables. This file is managed by puppet +1. enable and start the systemd user service units: `tor-weather.service tor-weather-celery.service tor-weather-celerybeat.service` +1. the /home/weather/.tor-weather.env file configures the tor-weather application through environment variables. This file is managed by Puppet. ``` SMTP_HOST=localhost