Skip to content

template Django - default postinstall script #619

@matthieumarrast

Description

@matthieumarrast

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions