Django Tutorial: Run Multi-Node Django for Time Series Data with TimescaleDB, Celery and more.

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 61

  • @CodingEntrepreneurs
    @CodingEntrepreneurs  2 місяці тому +38

    Thanks for watching!
    Code: github.com/codingforentrepreneurs/django-iot-with-timescaledb
    Chapters:
    00:00:00 - Welcome
    00:02:44 - Demo
    00:07:12 - Requirements
    00:10:15 - Setup Django Project
    00:16:03 - Priority Dotenv Helper for Python Decouple
    00:22:55 - TimescaleDB via Docker Compose
    00:34:42 - Integrate TimescaleDB with Django
    00:45:51 - Create a TimescaleDB model with django-timescaledb
    00:53:17 - Running Code outside the Request Response Cycle with Django and Celery
    00:57:33 - Integrate Django & Celery
    01:04:50 - Django Celery Task to Generate Fake Data
    01:13:45 - Auto Schedule Tasks with Celery Beat
    01:19:12 - Celery Task Queues for Individual Worker Nodes
    01:29:52 - Django Project within Docker Compose
    01:41:54 - Docker Compose Watch to Auto Refresh Django Container
    01:47:02 - Multi-Node Celery Running on Docker Compose
    01:56:00 - Configure Raspberry Pi OS for your Pi Cluster
    02:03:01 - Verify Pi Installation and Create Ansible Inventory File
    02:09:42 - Using Ansible to Configure our Pi Cluster for Django
    02:41:10 - Production TimescaleDB
    02:52:24 - Timescale DB Queries and API Responses
    03:05:11 - Additional TimescaleDatabase Queries
    03:13:05 - Visualizing Average Temperature Over Time
    03:17:18 - Visualizing Average Temperature Per Node Over Time
    03:23:36 - Thank you and next steps

    • @ahmadumar9387
      @ahmadumar9387 2 місяці тому

      thanks for your enterpreneur applications

    • @user-kd3bj2hf9c
      @user-kd3bj2hf9c 2 місяці тому

      😮😂O😅😅😅😅😅😅😅😅😊😅😅😅😅😢😅😅😮😊😅😅😅😅

  • @partht21
    @partht21 2 місяці тому +8

    I just Say you are god of django
    Please Always give us more & more django project to upscale are django skill.

  • @nextgodlevel
    @nextgodlevel 2 місяці тому +5

    great tutorial bro, I got my job 2 years ago, because i saw your tutorials, thanks

  • @partht21
    @partht21 2 місяці тому +6

    DRF, React & AWS this three thing combine truly needed no free tutorial available who teach this three thing combine. I learn from Udemy different paid courses, But if you make tutorial it's truly help to improve are django skill.

  • @judevector
    @judevector 2 місяці тому +4

    Bro everything i know about Django , you helped me achieve this unique skills and i keep getting better

  • @hbfl3x50
    @hbfl3x50 2 місяці тому +7

    Bro consistent asf, Django after Django, respect 🙌

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  2 місяці тому

      🙌. What should be next?

    • @hbfl3x50
      @hbfl3x50 2 місяці тому +3

      @@CodingEntrepreneurs Django for real time communications please, web-sockets, audio and video streams and all that good stuff

    • @jacojames
      @jacojames 2 місяці тому

      ​@@CodingEntrepreneurs consider looking into setting up payments for SaaS, specifically lean using Stripe payments? Can we look into including a token or actions tracker to track paid subscribers actions and allow for profitable business models to develop?
      Special thanks, you have been very helpful to me.

    • @partht21
      @partht21 2 місяці тому +3

      @@CodingEntrepreneurs DRF, React & AWS this three thing combine truly needed no free tutorial available who teach this three thing combine. I learn from Udemy different paid courses, But if you make tutorial it's truly help to improve are django skill.

  • @DirtySouth33T
    @DirtySouth33T 2 місяці тому

    Hey brother! long time man glad yur still rocking and rolling I honestly think you were the one who taught me django maybe back in 2013/2014

  • @AGASTRONICS
    @AGASTRONICS 2 місяці тому +2

    Wow 😳, who are you?
    You are teaching us mega courses for free ❤❤❤❤❤❤❤❤❤❤❤🎉🎉🎉🎉🎉🎉🎉🎉

  • @DennisIvy
    @DennisIvy 2 місяці тому +4

    🔥

    • @partht21
      @partht21 2 місяці тому +4

      @DennisIvy
      Please make video tutorial on DRF, React & AWS this three thing combine truly needed no free tutorial available who teach this three thing combine. I learn from Udemy different paid courses, But if you make tutorial it's truly help to improve are django skill.

  • @femiiir
    @femiiir 2 місяці тому +11

    I owe my career to him. I wish you do Machine learning tutorials. I am trying to divert to that and it has not been easy

  • @lisiushing
    @lisiushing 2 місяці тому +3

    Thanks for your great tutorial!

  • @bereketworku2078
    @bereketworku2078 Місяць тому +1

    Always you show us how to use Django in different ways I love your content!

  • @kumargupta7149
    @kumargupta7149 2 місяці тому +3

    Love and love.... your content

  • @DisabledCookie
    @DisabledCookie 2 місяці тому +2

    👀I'm watching your previous tutorial, and now you are dropping another one

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  2 місяці тому

      Just trying to keep you busy 😏

    • @DisabledCookie
      @DisabledCookie 2 місяці тому

      @CodingEntrepreneurs 😂seem like I'm not going to touch grass for a while

  • @gouemoregis195
    @gouemoregis195 2 місяці тому +2

    You rock sir. But I would like more kubernetes deployment please
    Thanks for everything

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  2 місяці тому

      For any kind of deployment or Django specifically or FastAPI or Nextjs?

    • @gouemoregis195
      @gouemoregis195 2 місяці тому

      @@CodingEntrepreneurs any kind of deployment sir I just want to see some kubernetes involved sir

  • @oleschelde6929
    @oleschelde6929 Місяць тому +1

    I have different sensors in my setup. There will be sensors, that only measures temperature and sensors that measures temperature and humidity. How to handle this in this setup? Would you an extra field for humidity to the Metric table, or split it in 2 tables for MetricTemperature and MetricHumidity?

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  Місяць тому

      Definitely add another field for the sensor type and possibly even use a different model depending on all the metrics the sensor gathers

  • @shirishdande7409
    @shirishdande7409 13 днів тому

    Hi, have you created a video on Django import-export package? sometimes data can't be imported from admin panel import/export data. how did you solve this issue?

  • @ridwanray
    @ridwanray 2 місяці тому +2

    Good job, Justin ❤

  • @chiragbiradar5593
    @chiragbiradar5593 2 місяці тому +3

    Love your content!!!

  • @AGASTRONICS
    @AGASTRONICS 2 місяці тому +4

    Hello World 🌍 Django IoT

  • @abhisheksanjaygawade1479
    @abhisheksanjaygawade1479 2 місяці тому

    It great to see some these tools.help us to slove complex problem .
    Thanks for video again

  • @dgiri2333
    @dgiri2333 2 місяці тому +2

    Django IOT add Geodjango concepts its increase weight for your explanation

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 2 місяці тому +2

    Thanks ❤

  • @aashayamballi
    @aashayamballi 2 місяці тому +1

    Thank you!

  • @unisonrul1171
    @unisonrul1171 2 місяці тому +1

    Thank you bro

  • @alexandergarzo9415
    @alexandergarzo9415 2 місяці тому +2

    This is fire 🔥

  • @Gurukul-sm
    @Gurukul-sm Місяць тому +1

    Taught django advance lable

  • @maqboolthoufeeqt
    @maqboolthoufeeqt 2 місяці тому +1

    Can you do a series on Networking and Cloud architecture for Developers Like AWS, Teraform, etc
    Also, I would like to suggest the most important networking concepts all developers should know

  • @vibhukarnwal4926
    @vibhukarnwal4926 Місяць тому

    plz make full stack next with aws fully deployed

  • @islamibrahim4382
    @islamibrahim4382 2 місяці тому +1

    The best of the best 👍

  • @raulgarcia9179
    @raulgarcia9179 2 місяці тому +1

    Excellent video.
    Can you talk a little about the equipment you use to record?
    Camera? Microphone? Editing software?

  • @hailemariam2489
    @hailemariam2489 2 місяці тому +2

    toonned !

  • @nityavlogs1555
    @nityavlogs1555 Місяць тому +1

    Pat😊o