Giter VIP home page Giter VIP logo

Comments (6)

red-erik avatar red-erik commented on June 17, 2024

healtchecksio

from healthchecks.

cuu508 avatar cuu508 commented on June 17, 2024

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.

from healthchecks.

red-erik avatar red-erik commented on June 17, 2024

True, thank you. I removed everything related to Python 3.6 or used pip3.8 to install packages, btw I still have

572b7870-ad41-4a21-8055-dc2a2f43b13d

from healthchecks.

cuu508 avatar cuu508 commented on June 17, 2024

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)?

from healthchecks.

red-erik avatar red-erik commented on June 17, 2024

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.

from healthchecks.

red-erik avatar red-erik commented on June 17, 2024

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.

from healthchecks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.