• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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