venv /bin /activate (.venv) $ python3 -m pip install django venv\Scripts\Activate.ps1 (.venv) $ python -m pip install django # macOS $ python3 -m venv. venv $ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser $. We will follow the standard steps for creating a new Django project: make a dedicated virtual environment, activate it, and install Django. ![]() # Windows $ cd onedrive\desktop $ mkdir django -docker # macOS $ cd ~/desktop /code $ mkdir django -docker On the command line navigate to the desktop and create a new directory called django-docker. The code for this project can live anywhere on your computer but the Desktop is an easy location for teaching purposes. We can then proceed to configure a local Django set-up and then switch over to Docker. Docker is now properly installed on your computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |