Setting Up a Development Environment in Hestia

Hi everyone,

I have a question regarding the setup of a development environment in Hestia. Currently, I’m developing my PHP applications locally and transferring them to the server via FTP/SFTP, followed by manual adjustments to configuration variables and the database. This workflow has proven to be quite tedious, and I’m seeking a more efficient solution.

My goal is to establish a subdomain (dev.domain.com) to host my development files. This would not only streamline my workflow but also allow my friends to help test my applications directly. I plan to manage version control through GitHub, which I believe can be easily handled via the command line.

However, I’m encountering challenges with the editing process. I’ve heard that Hestia has functionality for a VSCode server, but I haven’t been able to find detailed information on setting that up.

Does anyone have suggestions for configuring a staging or development environment directly on the server? BTW: I understand that the subdomain/webspace should be IP whitelisted for security purposes.

Additionally, I would like to know if PHP Artisan and other Laravel commands can be executed via the shell in Hestia.

Thank you for your assistance!