These are chat archives for allegro/ralph

8th
Aug 2017
Paweł
@ziompaul
Aug 08 2017 07:44
Hi, anyone can help me with installing Ralph on Docker?
Paweł
@ziompaul
Aug 08 2017 08:03
I have installed Ralph 3, and next Docker and Docker-compose. But I don't know where to copy config file and where to build ralph.
Ralph is installed in opt\ralph\ralph-core directory, but staring build command there does not work. :(
✪ vi4m Marcin Kliks
@vi4m
Aug 08 2017 09:33
@mkurek is the author of docker-compose installation, can you help here?
Mateusz Kurek
@mkurek
Aug 08 2017 09:34
@ziompaul copy docker-compose.yml at the same level as (main) ralph directory
Paweł
@ziompaul
Aug 08 2017 09:35
so to: opt\ralph\docker-compose.yml
Mateusz Kurek
@mkurek
Aug 08 2017 09:37
yes
Paweł
@ziompaul
Aug 08 2017 09:38
ok, I have allready tried thad, but I do this again i try do build ralph
root@skierlp01:/opt/ralph# docker-compose build
ERROR: Couldn't find env file: /opt/ralph/contrib/ralph.env
in ralph directory there is only ralph-core cirectory
Paweł
@ziompaul
Aug 08 2017 09:45
there is no ralph.env file on entire server (searched via WinSCP)
Mateusz Kurek
@mkurek
Aug 08 2017 09:46
should be in ralph/contrib/ralph.env
and it looks like docker-compose.yml is expecting to have directory with ralph sources named just ralph, not ralph-core: https://github.com/allegro/ralph/blob/ng/contrib/docker-compose.yml.tmpl#L34
Paweł
@ziompaul
Aug 08 2017 09:51

the directory tree after simple ralph installation is: /opt/ralph/ralph-core/
and there are only bin, include, lib directories :(

I don't know if I have installed it wrong or what... Ralph is working good by running id with ralph runserver 0.0.0.0:8000 command

Mateusz Kurek
@mkurek
Aug 08 2017 10:07
so you installed ralph using deb packages right?
Paweł
@ziompaul
Aug 08 2017 10:38
yes, and next I have installed Docker
Do I have to install it once again in diffrent way?
Will Rouesnel
@wrouesnel
Aug 08 2017 22:30
does Ralph have an audit log for generic (i.e. all) changes to items, data?