mirror of
https://github.com/PegaProx/project-pegaprox.git
synced 2026-04-25 10:05:56 +03:00
[PR #3] [MERGED] Use virtualenv for python packages installation in deploy.sh, give correct user instructions for index.html copy #82
Labels
No labels
Approved
Q2-3 2026 Development
bug
documentation
enhancement
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/project-pegaprox-PegaProx#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/PegaProx/project-pegaprox/pull/3
Author: @phantium
Created: 1/25/2026
Status: ✅ Merged
Merged: 1/25/2026
Merged by: @MrMasterbay
Base:
main← Head:main📝 Commits (3)
f974499Use virtualenv and already created requirements.txt45220faThere is no index.html, it's at web/index.html5300d04Command must be executed with sudo or you'll need to fix permissions📊 Changes
1 file changed (+26 additions, -26 deletions)
View changed files
📝
deploy.sh(+26 -26)📄 Description
Hello guys!
I moved the Python dependencies installation into a virtualenv and also updated the systemd service to reflect this
Instead of loading a list of packages inside of deploy.sh now using
requirements.txtas a reference instead.During installation I found out the index.html instructions were incorrect, as it is located in web/index.html, I have updated those instructions as well.
After installation I also noticed the permissions were broken causing a restart loop in the pegaprox service.
I've updated the instructions to be:
sudo -u pegaprox bash -c "cd /opt/PegaProx && ./venv/bin/python3 pegaprox_multi_cluster.py --download-static"Rather than potentially running this command from the root user and having to fix permissions after with chown.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.