Skip to content

Custom deployment Script kudu for Linux Azure web app DjangoΒ #112

@arislanIOT

Description

@arislanIOT

As I'm aware default kudu build in Linux Azure web app last command is

$ python manage.py collectstatic.

I'm trying to add the command
$python manage.py migrate #This is a necessary command in kudu build.

I generated .deployment and deploy.cmd file using the kuduscript.

Issue.:
when I push the repo, the deployment in azure web app fails and give the following error

Command: deploy.cmd /opt/Kudu/Scripts/starter.sh: line 2: exec: deploy.cmd: not found /opt/Kudu/Scripts/starter.sh: line 2: exec: deploy.cmd: not found\n/opt/Kudu/Scripts/starter.sh deploy.cmd

Please assist to resolve this issue and guide me on this.

Metadata

Metadata

Assignees

No one assigned

    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