7 Days Challenge For Push Your Hard skill using Django, PART 1
2 min readMay 18, 2021
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
- error in deploying the Django application
- the project structure is random and difficult to understand because everything is mixed together
- a lot of time wasted on fixing errors and debugging
- many errors arise when already in production, which should be completed when the stage of development
- 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
- Create a project structure that conforms to the modular python and Django standards
- check the server whether there are ports or other containers running on the VPS staging/production
- Create a service docker that can be used and can be tested on a local computer
- make the docker-compose service separately from the Django project so that it is easy to manage and can be reused
- make Docker compose that can be used to service many projects Django
- 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