• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Run additional commands composer

Sidimar Carniel

New Pleskian
To install all modules necessary for project is necessary in Websites & Domains > Applications > Manage My Applications > click the application name in the list > Install Dependencies.
As result is:
...
Generating autoload files
> php artisan clear-compiled
> php artisan optimize

After this, is necessary execute additional commands like:
php artisan db:seed --class=delete_tables
php artisan migrate

How is possible pass these commands to run?
 
If you have an SSH access you can do it in the command line.
There is one more trick. You can utilize Scheduled Tasks functionality without creation of the scheduled task :) Go to Websites & Domains -> Scheduled Tasks -> Add Task. Enter the command and click "Run Now" button.
 
Also you can use these commands for Event Manager for event "Web application installed" or "Web application reconfigured".
 
Back
Top