mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #831] Enhancement: Red-Hat porting #583
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#583
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?
Originally created by @red-erik on GitHub (May 19, 2023).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/831
Hello,
thank you for your great software. Sadly, I'm not allowed to work on any distro other than Rhel (8/9) so, would it be possible to have a "quick" guide on how to have all dependencies installed ? I had it running way back and it was "complicated" and today, I'm quite lost trying to have all dependencies satisfied.
Thank you in advance for every suggestion.
Regards,
Red.
@red-erik commented on GitHub (May 19, 2023):
@cuu508 commented on GitHub (May 19, 2023):
I think the SyntaxError in the screenshot is caused by an old Python version (Python 3.6 on RHEL 8?). The current version of Healthchecks works with Python 3.8 or later.
@red-erik commented on GitHub (May 23, 2023):
True, thank you. I removed everything related to Python 3.6 or used pip3.8 to install packages, btw I still have
@cuu508 commented on GitHub (May 23, 2023):
I'd like to try this myself. What RHEL version are you using, and what would be the the equivalent Fedora, CentOS or Rocky Linux version (I don't have a RHEL licence, and I assume I would need one)?
@red-erik commented on GitHub (May 23, 2023):
I solved it rebuilding everything from scratch and using pip3.8 to install dependencies. Now I have to understand how to properly have both services running together (you already helped me ways back). At the end, I'll send you all steps I did to have it up"and"running on Rhel 8.
Regards,
Red.
@red-erik commented on GitHub (May 23, 2023):
As promised...
sudo su -
yum -y install git
yum -y install gcc
yum -y install python38
yum -y install python38-devel
yum -y install libpq-devel
yum -y install openssl-devel
yum -y install libcurl
yum -y install libcurl-devel
mkdir -p /webapps
cd /webapps
python3.8 -m venv hc-venv
source hc-venv/bin/activate
git clone https://github.com/healthchecks/healthchecks.git
pip3.8 install --upgrade pip
pip3.8 install -r healthchecks/requirements.txt
pip3.8 install uwsgi
cd /webapps/healthchecks
./manage.py migrate
./manage.py createsuperuser
./manage.py test
./manage.py runserver 0.0.0.0/8000
firewall-cmd --add-port=8000/tcp
Still to understand how to properly manage both services... ;-)
Regards,
Red.