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

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

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

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

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

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

    Outstanding man!!! thx

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

    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?

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

    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.

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

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

  • @zorabtl
    @zorabtl 5 месяцев назад +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.

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

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

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

    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

  • @viktorlavrinovic6167
    @viktorlavrinovic6167 5 месяцев назад +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 3 месяца назад

    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?

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

    such an underrated video

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

    Excellent, all worked.

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

    This is awesome! Thank you so much

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

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

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

    Love you bro thank you so much

  • @BehruzbekOtayev
    @BehruzbekOtayev 6 месяцев назад +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 5 месяцев назад +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 2 месяца назад +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 5 месяцев назад +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 9 месяцев назад

    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

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

    thanks

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

    the best!!!

  • @enriquebruzual1702
    @enriquebruzual1702 7 месяцев назад +1

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