How to rebuild the Backend
Access hadez or hades through ssh.
Consider the following if you want to update the backend after modifying /opt/Carme/Carme-Backend/Python/carme_backend/server.py.
- Delete all files in
/opt/Carme/Carme-Backendexcept:setup.pybin/carme-backendcarme_backend/server.pycarme_backend/__init__.py.
source /opt/mamba/etc/profile.d/conda.shsource /opt/mamba/etc/profile.d/mamba.shmamba activate carme-backend-buildpython setup.py bdist_wheel(build the wheel)mamba deactivatemamba activate carme-backendpip install --force-reinstall /opt/Carme/Carme-Backend/Python/dist/carme_backend*.whl(force reinstalling the wheel)mamba deactivatesystemctl restart carme-backend