7 Days Challenge For Push Your Hard skill using Django, PART 1

Feri Lukmansyah
2 min readMay 18, 2021
image from unsplash

hello welcome to another blog post In this post I will discuss my experience in completing a 7-day challenge to solidify hard skills using Django, Why do you do this? there are several reasons for me to complete the challenge,

there I do a mistake, while I build the Django Project

  1. error in deploying the Django application
  2. the project structure is random and difficult to understand because everything is mixed together
  3. a lot of time wasted on fixing errors and debugging
  4. many errors arise when already in production, which should be completed when the stage of development
  5. difficult to add a new feature because a lot of files have to be changed when adding new features

What Should I Do

I using Docker service inside my project, after I realized I made the 5 mistakes above, I thought about several things to improve or reduce the risk

  1. Create a project structure that conforms to the modular python and Django standards
  2. check the server whether there are ports or other containers running on the VPS staging/production
  3. Create a service docker that can be used and can be tested on a local computer
  4. make the docker-compose service separately from the Django project so that it is easy to manage and can be reused
  5. make Docker compose that can be used to service many projects Django
  6. Naming services and containers docker must be clear and not confusing

That’s the experience and tips on the first day’s challenge to develop a website using the Django web framework, hopefully, it will be helpful and useful

Reference and Inspiration

--

--