FriendsOfSymfony / FOSCKEditorBundle

Provides a CKEditor integration for your Symfony project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CkEditor not working on Heroku with PHP stack

wehostadm opened this issue · comments

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,

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.