Setup guide for install and configure 1Pilot client on OctoberCMS
Run following commands to install 1Pilot client and run migrations
php artisan plugin:install OnePilot.Client
php artisan october:migrate
- 1.Install "1Pilot remote manager" plugin on your website
- 2.Once installed, go to Settings, 1Pilot Settings and copy the private key
- 4.Fill out the required fields and paste the private key
If your server is not at time you can have issue to connect your application to 1Pilot. For solve that go to 1Pilot Settings on the OctoberCMS backend of your site and check "Skip timestamp validation".
Please note that this option will decrease security and that you should as much as possible set your server at the correct time.
As you probably know, October version 2 uses composer to update the core and plugins. To be able to update plugins from the 1Pilot dashboard without reaching the timeout during the process and breaking your website, we now perform theses updates asynchronously via your website cron.
In practice, when you click on the update button from the 1Pilot dashboard, we contact your website and ask it to schedule the update command. The next time the cron calls
schedule:run, your website runs a composer update (after all other scheduled tasks, to avoid delaying them) to update the requested plugins. Once the composer update finishes, the website contacts the 1Pilot server to show on the dashboard that the update has been completed.
For the update to work properly, you must have :
- 1Pilot plugin ≥ 1.2.0 installed
- composer v2 (you can run
composer --versionto know the composer version)if your server has multiple composer binaries (v1 and v2) you can set the composer binary path in
'composer_binary' => '/your/composer/path'