I am trying to install a script via git and cPanel won't let me install the script in public_html. When I execute the following command, I get the following error:
Their install instructions have you clone the script to the root folder (public_html) and then you run
Their repository does not have a cpanel.yaml file so I can't use the GUI since there is no deploy option.
Considering that public_html is a "special" folder, I am not sure if it is safe to delete it and recreate it.
What is the proper way to install such a script? It must be in the root (public_html) to operate.
[[email protected] ~]$ git clone https://codeberg.org/streams/streams.git public_html
fatal: destination path 'public_html' already exists and is not an empty directory.
Their install instructions have you clone the script to the root folder (public_html) and then you run
composer install --no-dev
to install it. Their script comes with a script that updates it via git too.Their repository does not have a cpanel.yaml file so I can't use the GUI since there is no deploy option.
Considering that public_html is a "special" folder, I am not sure if it is safe to delete it and recreate it.
What is the proper way to install such a script? It must be in the root (public_html) to operate.