These are chat archives for allegro/ralph

21st
Aug 2018
Alberto Valdes
@albercuba__twitter
Aug 21 2018 09:53
Hello egain. Is anyone here running ralph in production?
Roman Prykhodchenko
@romcheg
Aug 21 2018 09:54
@albercuba__twitter we are
Alberto Valdes
@albercuba__twitter
Aug 21 2018 09:54
Roman are you using the Docker method?
Roman Prykhodchenko
@romcheg
Aug 21 2018 09:54
yup
Alberto Valdes
@albercuba__twitter
Aug 21 2018 09:55
@romcheg I am using the DEB packet and then I relized in the docs they dont say how to configure the webserver
do you know how to configure nginx or apache for ralph?
Roman Prykhodchenko
@romcheg
Aug 21 2018 09:55
sure
It's not that different from any other WSGI app
Alberto Valdes
@albercuba__twitter
Aug 21 2018 09:56
but the conf file for nginx?
Roman Prykhodchenko
@romcheg
Aug 21 2018 09:57
Let me see if I have a ready to use one somewhere
Alberto Valdes
@albercuba__twitter
Aug 21 2018 09:57
tanks
That one could be modified
as for the application server you can use, say, uWSGi
and then you modify the paths and the URLs in the configuration file for nginx in order to be correct for your environment
Alberto Valdes
@albercuba__twitter
Aug 21 2018 10:01
are you using docker so yu dont have to use ubuntu 14.04?
Alberto Valdes
@albercuba__twitter
Aug 21 2018 10:42
Can someone help me configure the webserver please? I checked the https://github.com/allegro/ralph/blob/ng/contrib/ralph.conf.nginxfile, but I am not using docker and the paths are different. I cant find the static and media folder paths
Alberto Valdes
@albercuba__twitter
Aug 21 2018 11:12
in that file the paths are /opt/static and /opt/media but I installed ralph-core with APT and my path is /opt/ralph/ralph-core and I dont find the media and static directories
Fabian Krack
@onibox
Aug 21 2018 13:23
Hi. Has Ralph 3.0 been released yet? The release tags on github don't indicate an explicit version, only regular snapshots.
✪ vi4m Marcin Kliks
@vi4m
Aug 21 2018 13:25
every new release you see on github is stable and used in production - we just release often :)
these are 3.0 based iterations
Fabian Krack
@onibox
Aug 21 2018 13:26
Ah ok. Thanks!
Releaseing often is a good thing :-)
Alberto Valdes
@albercuba__twitter
Aug 21 2018 13:31
@vi4m is there a release date for a version supporting something newer than Ubuntu 14.04?
✪ vi4m Marcin Kliks
@vi4m
Aug 21 2018 13:32
what’s the most popular distro we should focus on?
i mean, long term support
Alberto Valdes
@albercuba__twitter
Aug 21 2018 13:33
well that dependens on each people's preferences. But I would say latest stable Debian or latest stable Ubuntu
Fabian Krack
@onibox
Aug 21 2018 13:33
and rhel/centos?
Alberto Valdes
@albercuba__twitter
Aug 21 2018 13:33
also, the documentation is very vague and I think incomplete :(
Fabian Krack
@onibox
Aug 21 2018 13:34
PRs are probably welcome ;-)
Roman Prykhodchenko
@romcheg
Aug 21 2018 13:34
@onibox neither rhel nor centos support python-3
✪ vi4m Marcin Kliks
@vi4m
Aug 21 2018 13:34
are there specific topics @albercuba__twitter you need more documentation for?
(yes, documentation is incomplete, but maybe there are parts which we should focus more on)
Fabian Krack
@onibox
Aug 21 2018 13:35
@romcheg ok, thx
Roman Prykhodchenko
@romcheg
Aug 21 2018 13:35
as for newer versions of ubuntu -- ralph does support that and is tested against python-3.6 which is a version available in ubuntu xenial
i think we need to upgrade the deb package for xenial as well
Alberto Valdes
@albercuba__twitter
Aug 21 2018 13:36
I tried to install it in Ubuntu 14.04 using the DEB package as recommended. But I dont find the way to configure the web server. I see in the docker installation that you use gunicorn but it is not documented how to configure it and how to configure nginx or apache
in a normal DEB installation
Roman Prykhodchenko
@romcheg
Aug 21 2018 13:36
I mean, that's up to investigation but probably we do
The documentation is indeed incomplete for non-docker installations
Alberto Valdes
@albercuba__twitter
Aug 21 2018 13:37
But non-docker installation is the recommended one
and the Docker installation states to be experimental
I want to move two servers out of GLPI and Snipe-IT to Ralph. but so far, I am having real problems getting it to work
Roman Prykhodchenko
@romcheg
Aug 21 2018 13:48
Basically the configuration for both nginx and uwsgi/gunicorn is pretty standard one here. However, if that does not work well for you I can recommend you to run Ralph in docker as described in the documentation
That is said to be experimental, however, we run Ralph in docker in our production environment for years and keep all our DC and backoffice assets there
Alberto Valdes
@albercuba__twitter
Aug 21 2018 13:52
@romcheg the problem is that I have a DB server and I want to host the DB for Ralph there and doing that with Docker is difficult. I mean, it would really be good if someone who has a working installation (not with docker) could add the steps to configure the web server to the documentation
it's actually not -- you can configure database and other paramethers in docker as well