Commit 4dc68b43 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

doc: run first the backend

parent b9457ae2
......@@ -10,14 +10,6 @@ Run scripts
Both rvd_front and rvd_back must run. It is a good practice run each one in a different terminal.
The web frontend runs with the ``morbo`` tool that comes with
*mojolicious*. It auto reloads itself if it detects any change in the
source code:
.. prompt:: bash ~/src/ravada$
PERL5LIB=./lib morbo -m development -v ./script/rvd_front
The backend runs as root because it has to deal with the VM processes.
It won't reload automatically when there is a change, so it has to be
restarted manually when the code is modified:
......@@ -26,6 +18,14 @@ restarted manually when the code is modified:
sudo PERL5LIB=./lib ./script/rvd_back --debug
The web frontend runs with the ``morbo`` tool that comes with
*mojolicious*. It auto reloads itself if it detects any change in the
source code:
.. prompt:: bash ~/src/ravada$
PERL5LIB=./lib morbo -m development -v ./script/rvd_front
Stop system Ravada
==================
......@@ -44,8 +44,9 @@ If you use the fish shell you must run the scripts with these commands:
.. prompt:: bash ~/src/ravada$
set -x PERL5LIB ./lib ; morbo -m development -v script/rvd_front
sudo PERL5LIB=./lib script/rvd_back --debug
.. prompt:: bash ~/src/ravada$
sudo PERL5LIB=./lib script/rvd_back --debug
set -x PERL5LIB ./lib ; morbo -m development -v script/rvd_front
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment