Strapi v4 plugins.js issue - strapi

I recently installed strapi v4, and started to install some apps from the marketplace. Some of the apps need updates to a plugin.js file in the config folder.
When I created my app it did not create such a file in the config folder, do I need to create this manually? What am I missing?

Well, I just needed to create the file and add the plugin :)

Related

(correctly) Removing Laravel application from AWS server without deleting instance

I'd like to completely remove an old Laravel application that I upload as a test version of my AWS Instance. I'd like to upload a newer fresh updated version of that application so I'd like to -safely- remove old one and upload the new one.
I'd like to avoid -if possible- deploy a new instance so I don't have to install and configure all once again.
Application path is var/www/.
Should I just simply delete with terminal all files within this path and upload the new one in this path? Or there is a better practice for this purpose?
Thanks all,
Fernando
The correct way of removing a Laravel project is just removing the directory that contains the desired project. So basically you could just remove the old project and deploy the new one and it should work!
you can delete your project with rm -rf your_project_path command

SPFX sharepoint Deployment

i have deployed spfx to sharepoint online. firsts I have run gulp bundle --ship and again gulp package-solution --ship. I have uploaded bundle file to site assets mentioned path in manifest file. package file I have uploaded to app catalog.
now if I have to modify existing code should I again run two commands and upload files back? I see bundle files generate file name with different version name.
That is correct from my experience.
The bundle files have a hash appended to them based on their contents, to differentiate between two versions of the script. This make it easier for browsers to get new versions when they are available. Waldek wrote a nice brief explanation about why they do this.
Note that when you upload the new package file, any pages with your web part(s) will immediately start pointing towards the new version of the bundle files. For best experience, I recommend uploading the bundle files first, then the package file, to avoid users experiencing any web part errors for that short duration if you uploaded them the other way around.
You can add "includeClientSideAssets": true" to your package-solution.json file, and you don't need to manually deploy your assets. You need just deploy .sppkg package and that's it.
You can even deploy it using o365 cli from cmd. In our env I created gulp task that first modify current version and then boundle and deploy it.
includeClientSideAssets attribute was introduced in the SPFx v1.4
Every time we modify / add any changes , we should run both gulp bundle --ship, gulp package-solution --ship commands and deploy the .sppkg package

How to update Web Application directory with "appcfg update" command on a MAC?

I am developing a Web Application using NetBeans IDE on MAC OS and want to deploy it using Google App Engine. Before deploying, we have to update the Web Application directory using the appcfg command. I have tried using "./appcfg.sh update ~/Development/PATH_TO_WEB_APPLICATION_DIRECTORY;", but that too resulted in many errors including "Include dispatch.yaml in updates". So, which command should I use to update the Web Application file?
What do you mean by "update the Web Application file"? If you are performing an appcfg update, you need to make sure the directory "contain an app.yaml file and all of the other files required by the app or the module that the app.yaml file defines."
Please read this documentation for details.

Laravel project Installation on xampp

I am new to laravel, I have installed the laravel on my local server(Xampp) with composer. I have a small project that is build in the laravel now I am getting trouble to run that project on the xampp.
Thanx in advance
Just point your folder in apache.conf to your laravel public folder and you will be able to run your project in windows.
Follow this guide to do so:
How do I change the root directory of an apache server?
Please read the docs about the installation for any other problems you may have.
http://laravel.com/docs/5.1/installation

Runnig Yesod Compiled Project on FpComplete using Amazon EC2

Hi sorry about this issue, i'm run out of ideas of how to access my deployed project on our main domain server.
By following the Guidelines provided in the GitHub I installed properly the keter, put the .keter file in the /opt/keter/incoming path but once i access it on the browser it always see the nginx page.
Also I use fpcomplete IDE for my project and I just download the file executable file there.
Thank in advance
I've solve this by following the instruction given to me on Github

Resources