Deploy Django and VueJS using Docker | Part 2 - Deploy On Digital Ocean 2022

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

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

  • @dodokwak
    @dodokwak 2 года назад +3

    Thank you. These series of video's are very helpful. I have very limited experience with Docker although I've deployed once small project based on vue (compiled by webpack) +django. I am just wondering if application deployed this way (with Docker) will work faster then without it. (will be rendered faster on the client side ).
    (sorry, if my question too amateur).

    • @Monkhaus
      @Monkhaus  2 года назад +2

      Good question. I don't think it will be faster but it's certainly easier to develop with especially if you're working in a group or switching machines when you code as all you have to do is build the containers.

  •  Год назад

    just what I was looking for.

  • @huynhkhanh712
    @huynhkhanh712 Год назад

    good videos!! thank you, it's very useful for me

  • @dodokwak
    @dodokwak 2 года назад +1

    Thank you.

    • @Monkhaus
      @Monkhaus  2 года назад

      Let me know if there's anything specific you want to see related to Django Vue docker and I'll see if I can make it. Thanks for the support btw in the last 2 vids.

    • @dodokwak
      @dodokwak 2 года назад

      @@Monkhaus
      At this moment I'm busy with django + js full calendar trying to make something like an appointment app. Because I personally hate to call to make appointments. Next step to decide whether to use more advanced tools, may be vue js calendar/ react calendar(?).
      Still hesitate whether it's a good idea to use them for a small project. On the other side they may give more flexibility then full calendar js. Or may be to create calendar self, just based on django templates?
      I'm also very interested in implementation of celery + redis. As far as I understand they need Docker to make deployment less painful.
      But I'm and will be very grateful to you for your efforts in creating any video's about django +.

    • @Monkhaus
      @Monkhaus  2 года назад +1

      @@dodokwak That's definitely smart. I always advocate for using the right tools and trying to keep things simple. I think for me I want to minimize the number of decisions I / other people need to make so I can just focus on my projects. But as you say with my way it's possible I'll use Django and Vue for a small project where it might be overkill. But cool, redis is super simple docker I'll include that next time I do something similar to this

  • @dodokwak
    @dodokwak 2 года назад

    Yes, please 0:55.

    • @Monkhaus
      @Monkhaus  2 года назад +1

      Will do! My goal is to get to a point where someone can build and deploy a full 'SaaS' django + Vue application for as cheap as possible in the shortest possible time.

  • @yashinshekh802
    @yashinshekh802 Год назад

    great video, instead of using terifik we can use nginx as well right? can we use nginx with this cookiecutter project

    • @Monkhaus
      @Monkhaus  Год назад

      I haven't personally done it but you definitely can :)

    • @yashinshekh802
      @yashinshekh802 Год назад

      @@Monkhausyou are really amazing programmer. thank you for the help and information you share. also have you removed the frontend code from the git repo.

    • @Monkhaus
      @Monkhaus  Год назад

      @@yashinshekh802 hi, just investigating but it looks like I've done something yes. Will need to work out what. Will get back to you, but can't promise I'll recover it.

    • @Monkhaus
      @Monkhaus  Год назад

      @@yashinshekh802 hello, I don't have the code anymore. But what I could do is share a private project I worked on a while ago which has pretty much the same layout. You'd have to change the actual code though and the axios endpoints etc for it to work, but could be a good reference point
      CODE: github.com/monkhaus/yig/tree/main

    • @yashinshekh802
      @yashinshekh802 Год назад

      @@Monkhaus thank you so much for your help ^_^ really appreciate it

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

    what was your nginx conf for frontend set up as?

  • @huynhkhanh712
    @huynhkhanh712 Год назад

    I now just wonder to know that after deployed can we update the project with someways? I mean we will add new modules into django and vuejs

    • @Monkhaus
      @Monkhaus  Год назад +1

      Sure you just push the code onto digital ocean either push/pull with GitHub, then rebuild containers

    • @huynhkhanh712
      @huynhkhanh712 Год назад

      @@Monkhaus could you make a video show how to rebuild django project after get the template with cookiecutter, I am usually create django project with pip install django and the template of cookiecutter setup is so new for me