We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46162
    • 4 Posts
    Hi all,

    I have a server running DirectAdmin with Installatron. For my MODx project I use a subdomain for development, and the main domain for the live envoirement. For example: sandbox.x.com for development and x.com is the live envoirement. We deploy our sandbox envoirement at least once a week. This is done by "cloning" the website through Installatron which works fine, but there are always two issues I have to deal with:

    1. I manually need to delete all the files in /core/cache
    2. I need to manually configure the database name in /core/config/config.inc.php (line 12)

    Any ideas how I can automate these 2 actions?
    Thanks