FriendsOfSymfony / FOSCKEditorBundle

Provides a CKEditor integration for your Symfony project.
Other
522 stars 84 forks source link

CkEditor not working on Heroku with PHP stack #237

Open wehostadm opened 3 years ago

wehostadm commented 3 years ago

Hi,

I try to use this bundle with Symfony 4 and everything work in local but when I push on production on Heroku, the assets don't want to install. Please note that I don't use a Rail stack but a PHP stack on Heroku.

I use the command :

heroku run php bin/console ckeditor:install heroku run php bin/console assets:install public

No error message but the assets are not install in the public folder.

How can I do ?

Thanks,

knarficious commented 1 year ago

Hi,

The best way is to write scripts in your composer file, as explained in the doc: https://symfony.com/bundles/FOSCKEditorBundle/current/usage/ckeditor.html#composer-script. I succeeded to deploy on heroku this way.