Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
ShyamalaViswanathan
@ShyamalaViswanathan
Thanks for the link. Will check them out.
Alex Espitia T
@Alex_Espitia_T_twitter
Buenos días, compañeros una pregunta estoy teniendo inconvenientes para instalar ralph en debian 8 si me pueden orientar. Gracias.
Rudy Pinochet
@rudy500
Hola Álex, que inconvenientes tienes?
Erik Smedinga
@ErikSmedinga
Good morning. The online Ralph environment seems to be down.
✪ vi4m Marcin Kliks
@vi4m
Roman Prykhodchenko
@romcheg
@Alex_Espitia_T_twitter potemos ayudarte, pero nececitamos mas informacion
Erik Smedinga
@ErikSmedinga
I get a Server Error (500) on multiple browsers.
Tried another browser and I get a login. Time to clear my cache, cookies, etc. Thanks
Vladislav Solovei
@vladsol
Guys? It is possible to start ralph without vagrant?
Roman Prykhodchenko
@romcheg
@vladsol sure -- we supply ready to use docker compose config
alternatively it's possible to run it on your bare host
Vladislav Solovei
@vladsol
@romcheg Yes, I'm interested in running on a bare host. But, unfortunately, I don't have the ability to use ubuntu.
CentOS 7?
I have already installed python, pyenv, npm, bower... "make install" - with no errors.
But i can't find the "ralph" python script. I need to create it somehow?
Roman Prykhodchenko
@romcheg
basically there's no python script that you run in order to start Ralph
currently there are a few manual steps you have to follow in order to set ralph up at your bare host
do you have a mysql server running?
Vladislav Solovei
@vladsol
@romcheg Yes.
Roman Prykhodchenko
@romcheg
then ensure you are in the Ralph directory and run pip3 install -e .
Vladislav Solovei
@vladsol
@romcheg Done. Now, i have "/opt/ralph/bin/ralph" )
@romcheg Do i need to set the "MYSQL_*" environment variables ?
Roman Prykhodchenko
@romcheg
now you have two options -- you either create a db called ralph_ng and a user called the same and having the same password or you create you custom db and user and change Ralph's settings
Vladislav Solovei
@vladsol
@romcheg ralph migrate ?
Roman Prykhodchenko
@romcheg
yup
Vladislav Solovei
@vladsol
@romcheg Done)
Roman Prykhodchenko
@romcheg
cool
now you can test if it works bu running ralph runserver 8000 - you can choose another port
for sure you need to create a user first :)
ralph createsuperuser
Vladislav Solovei
@vladsol
@romcheg :( Server Error (500)
Roman Prykhodchenko
@romcheg
could you please post what you have in logs
Vladislav Solovei
@vladsol
I can't find any *.log files :)
Roman Prykhodchenko
@romcheg
ah, sure, you don't have too much output
export RALPH_DEBUG=1
and then run it again
Vladislav Solovei
@vladsol
@romcheg with RALPH_DEBUG=1 there is no HTTP 500
@romcheg But, i see some 404 errors while requesting some js and css files
[20/Feb/2018 13:55:53] "GET /static/css/ralph.css HTTP/1.1" 404 1657
Roman Prykhodchenko
@romcheg
Right
That's expected for now
Frontend, i. e., JS and CSS stuff has to be built now. Just run node_modules/.bin/gulp
I know that sounds like a lot of steps -- we are working on making a simple package for it
Vladislav Solovei
@vladsol
@romcheg Wow :) It's works!
@romcheg Thank you! :)
Roman Prykhodchenko
@romcheg
awesome
now you're probably interested to have that running as a service, aren't you?
Vladislav Solovei
@vladsol
@romcheg Yes)
Roman Prykhodchenko
@romcheg
Do you know how to run gunicorn?
it is already installed, since you've performed make install
the configuration file for gunicorn is located in contrib/gunicorn.py.ini
Vladislav Solovei
@vladsol
@romcheg I have configured nginx + supervisord + gunicorn)
But there are problems with the paths to some js