Build and run Django in Docker in 10 minutes (+ bonus tips)

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 23

  • @tekmanoid
    @tekmanoid Месяц назад +1

    Thanks, you covered more things in 15 minutes than others in 2 hours

  • @lbuduen
    @lbuduen 8 месяцев назад +1

    Outstanding man!!! thx

  • @miroslavzeljkovic415
    @miroslavzeljkovic415 29 дней назад

    This is awesome! Thank you so much.
    I especially liked the way you handled the settings for PROD and DEV environments 🙂

  • @zorabtl
    @zorabtl 4 месяца назад +1

    Excellent! Thank you so much, I was able to figure out exactly what the root cause of all my problems was by following your tutorial.

  • @thatitaliancatboy
    @thatitaliancatboy 12 дней назад

    such an underrated video

  • @viktorlavrinovic6167
    @viktorlavrinovic6167 4 месяца назад +1

    Thank you so much! You are the best! The only thing that was confusing was that I needed to install Docker Desktop in order for the docker commands to work (installing the docker cli was not enough)

  • @nuynobi
    @nuynobi 2 месяца назад

    Thank you. This is just what I needed to get my ball rolling. I'm finally starting to build that web app I've been thinking about for a few years, but with so much new stuff to learn all at once, I was confused about how to get everything setup in the first place. I have lots of experience building Python and Bash command line apps using vim on Linux, but I'm new to Docker, Django (web dev in general really), and even using an IDE. I also appreciated the suggestions on best practices. Useful stuff.
    You implied during this tutorial that there'd be at least a part 2 to this where some of those placeholders get filled in. I've scanned through the rest of your videos but I don't see an obvious "next" video to follow this one up. ETA on part 2? Or suggestions about where to go from here?

  • @tudor.abrudan1
    @tudor.abrudan1 5 месяцев назад +3

    Hi Adam,
    Thank you for this tutorial.
    I find something cofusing (I think it's only for me.): why do we need python&django instaled on local if we intend to run them from docker?
    Can we run this instalation process without installing them on local ?
    Any hints how ?
    Thank you.

  • @daveisdead
    @daveisdead Месяц назад

    This is awesome! Thank you so much

  • @SnackKingOfficial
    @SnackKingOfficial 27 дней назад

    Hi Adam, what happens if you want to keep local on default db.sqlite3, and does it mean when you're testing local, your run is docker run -p 8000:8080 nova-docker, which will default to local settings

  • @nurlanturganaliev3375
    @nurlanturganaliev3375 14 дней назад

    Hello. Everytime when we make changes, should we build the image from the beginning? How to append new code or data without losing useful data on existing docker container?

  • @PhilDodici
    @PhilDodici 2 месяца назад +1

    hi! Is a good choice to integrate posgres inside the docker image with docker compose? how can I link a reactJS front end?

  • @O-DogKubrick
    @O-DogKubrick 8 месяцев назад

    Still in Kelowna or Revelstoke? Cause I’m coming to BC!!

  • @BehruzbekOtayev
    @BehruzbekOtayev 5 месяцев назад +3

    oh couple of things that stood out: you installed django gloablly for your python3.12 then created the my-env file and addded django as a dependency. thats not right, first create your venv folder, activate it, then install django, create project, etc. Allowed hosts are not what you said it means.

    • @claudioschmidli5103
      @claudioschmidli5103 4 месяца назад +3

      Thank you for commenting I was thinking the same about the venv. Can you please explain the second part with the allowed hosts?

    • @nuynobi
      @nuynobi Месяц назад +1

      I was just wondering about this. I had already done it the way you suggested and was worried if that was a mistake. If it's installed globally, does a venv actually reinstall it or just point to the global one? I don't know if this makes sense (I'm brand new to using virtual environments) but installing it globally might be preferred if you work with django a lot because then it's only installed once instead of many times in a bunch of different venvs.

  • @Just4Pro1
    @Just4Pro1 4 месяца назад +3

    i came here to findout why my admin/ is messed up and static files are not working and i saw yours are same :)

  • @alexdin1565
    @alexdin1565 8 месяцев назад

    Hi adam thanks for sharing this tutorial, This is the first time when i liked youtube suggestion algorithm they suggests your video and its amazing please can you make a series on how we can deploy multiple django apps on the same server with docker and each app can use their own domain name?
    everyone makes videos about django but no one cover the deployment steps like you do keep going
    you get another like + subscribe

  • @bekarysJanbatyrov
    @bekarysJanbatyrov 5 месяцев назад +1

    the best!!!

  • @LeviElekes
    @LeviElekes 6 месяцев назад

    thanks

  • @enriquebruzual1702
    @enriquebruzual1702 6 месяцев назад

    "In plain English", I see what you did there