![]() ![]() It's a pain in the ass to start with, no doubt about that, but it is definitely worth your time. There are plenty of books, online courses, lectures and more to help you learn. If you don't know Git and you plan to work with software in any capacity, then I strongly recommend that you start learning how to use it as soon as possible. Git, the version control tool, is widely used by software developers and allows you to efficently and reliably sync your code between multiple machines. The best way to make your code portable between multiple computers is to put it online in a place that is publicly accessible, like GitHub.įor example, this blog is hosted on GitHub so that I can access the latest copy of my writing from both my laptop and PC. In the rest of this post, I'll describe some practices that will help ensure that anyone with Python installed can quickly start working on your Django app. If you don't believe that this is achievable, then here's a quick example of me cloning and setting up an example project from scratch in under a minute: Need to take to make your development environment reproducable. To achieve this best case, there are some steps that you'll In the best case, this process can take minutes. It's the kind of thing that makes you want to scream at your computer. In the worst case, moving your Django project from one machine to another is a frustrating and tedious experience that involves dead ends, mystery bugs and cryptic error messages. you somehow screwed up your files very badly and you want to start from scratch.you want to get help from other people, and they want to try running your code.you want to work on your code on multiple machines, like a laptop and a PC. ![]() This issue comes up in quite a few scenarios: If it gets deleted or corrupted, then you've lost all your work! If it isn't portable, then your project is trapped on your machine. It should be quick and easy to start it up on a new laptop. You need your Django project to be portable. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |