jackabox / statamic-plausible-analytics

Integrate Plausible Analytics into your Statamic Dashboard
MIT License
5 stars 8 forks source link

Transfer local installation to production server #3

Closed marflow closed 2 years ago

marflow commented 2 years ago

Hello Jack, thanks for the addon! I installed it locally with Composer and everything is working fine, I see the plausible data for the live site. Then I committed the files and transferred them with gitftp to the live site, but the addon is not listed as installed. Jackabox vendor folder with plausible subfolder, plausible.php, config.php and .env with details are all in place.

Would you have an idea what might be the problem? Thanks!

jackabox commented 2 years ago

Hey @marflow, as long as you have all of the vendor files (including an updated autoload) and the .env then everything should work. Chances are something hasn't been copied across with your vendor (always resync the whole folder if not using a command line)

marflow commented 2 years ago

Hello Jack, I´ve found my issue: I had gitignored the files in bootstrap/cache folder, so the plugin was not loaded on the live site. All good now. Sorry for bothering you and thanks again for the plugin!