Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about the tutorial #11

Open
masish opened this issue Jul 6, 2022 · 1 comment
Open

Questions about the tutorial #11

masish opened this issue Jul 6, 2022 · 1 comment

Comments

@masish
Copy link

masish commented Jul 6, 2022

I tried below tutorial.
https://docs.microsoft.com/en-us/azure/app-service/tutorial-custom-container?pivots=container-linux#code-try-16

when I tried working sample on locally, I encountered below error when executed command "docker run -it -p 8000:8000 appsvc-tutorial-custom-image"

image

However, tutorial is working without this command "python manage.py migrate".

I think that we don't need executing this command for this tutorial, so this execution not in the tutorial steps, right?
I understand "python manage.py migrate" is for preparing database tables for app.
If application use a database and need to execute the command, Should we define the execution of the command in the docker file?

@Augustukas
Copy link

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants