Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
9b0e8a7e
Verified
Commit
9b0e8a7e
authored
11 months ago
by
Jérôme Charaoui
Browse files
Options
Downloads
Patches
Plain Diff
service/tor-weather: additionational install steps (
team#41556
)
parent
c52fefc2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#154392
passed with warnings
11 months ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service/tor-weather.md
+3
-1
3 additions, 1 deletion
service/tor-weather.md
with
3 additions
and
1 deletion
service/tor-weather.md
+
3
−
1
View file @
9b0e8a7e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment