![]() This message shows that your installation appears to be working correctly. Status: Downloaded newer image for hello-world:latest In your terminal, run the command docker -version. Once Docker is done installing, we can confirm the correct version is running. Feel free to stretch your legs at this point! The initial download of Docker might take some time to download. The first step is to install the desktop Docker app for your local machine: Best of all, this can be shared in groups, simplifying team development. Instead of worrying about which software packages are installed or running a local database alongside a project, you run a Docker image of the entire project. ![]() The easiest way to think of it is as a large virtual environment that contains everything needed for our Django project: dependencies, database, caching services, and any other tools required.Ī big reason to use Docker is that it completely removes any issues around local development setup. It's possible to run PostgreSQL locally using a tool like Postgres.app, the preferred choice among many developers today is to use Docker, a tool for creating isolated operating systems. Django ships with built-in SQLite support, but even for local development, you are better off using a "real" database like PostgreSQL that matches what is in production. ![]() This tutorial will create a new Django project using Docker and PostgreSQL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |