You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the django template, the postinstall script is in charge of initiliazing the django project and to make it works with the mfserv/nginx routing.
But this postinstall file must absolutely be emptied or deleted after the first plugin installation, otherwise the initilization is made each time the plugin is installed.
I think to an automatic solution : this shell should test the presence of a file (for example .postinstall.done), do nothing if present and create the file at the end of the shell (at first execution).
Problem
In the django template, the postinstall script is in charge of initiliazing the django project and to make it works with the mfserv/nginx routing.
But this postinstall file must absolutely be emptied or deleted after the first plugin installation, otherwise the initilization is made each time the plugin is installed.
Solution
Add a mention to delete or empty the postinstall script (at the end of the plugin installation) in documentation http://metwork-framework.org/pub/metwork/releases/docs/stable/mfserv/870-tutorials/041_python3_django3_plugin/
For now I do not imagine an automatic solution, as the postinstall script cannot destroy (or empty) itself.
The text was updated successfully, but these errors were encountered: