Redactor plugin works in local dev, but not in production...
Created 5 years ago by nemesis

I am making a website which has a custom plugin I made for the wysiwyg-editor and works on my dev environment. I have pushed the whole website from dev to git and from git I pulled it again to the production server. The whole website works as intended, except that my redactor plugin won't show in the toolbar. I can't find out what is going wrong.

Steps I took:

  1. Cloned repo on production server
  2. Copied .env file from dev, changed INSTALLED to false
  3. Changed directory permissions accordingly
  4. Execute composer update
  5. Execute php artisan streams:refresh
  6. Changed INSTALLED to true.

Two questions:

  1. Is the above the correct way to install pyro from a git repository?
  2. Why does my plugin work on dev and not on production?


ryanthompson  —  5 years ago

Are there 404s on production? Are you running it over an IP / subdirectory on production? Any JS errors?