-
Notifications
You must be signed in to change notification settings - Fork 3
Adding a Package to the Application
Zane Hooper edited this page Sep 25, 2018
·
3 revisions
-
Copy the package into
packages
in its own folder. -
Rebuild the vendor folder (make sure to replace
<your_package>
with the name of the package folder):/scp/bin/scp-exec php_s bash -c 'cd packages/<your_package>; /var/www/html/composer.phar install'
-
Update
PACKAGES=
variable in.env
in main Synergy installation by adding the folder name of the new package. -
Save the config changes to the application:
/scp/docker/bin/scp-exec php_server bash -c 'php artisan config:cache; php artisan queue:restart'
-
Copy the frontend files over to the public directory. This will need to happen any time your frontend code is recompiled (make sure to replace
<your_package>
with your package's name):/scp/docker/bin/scp-pkg-build <your_package>