Creating dockerized Django app with VSCode

Thanks to Mark Winterbottom for the interesting videos and the idea for this post. Creating a Django project Start by creating a new directory for your project (eg: vscode-django-docker), and open it in VSCode. mkdir vscode-django-docker cd vscode-django-docker git init code . Then, add a .gitignore for your project. You can use template for Python provided by GitHub or generate on gitignore.io. Now let’s create a Django project by running the one-line-command below...

June 12, 2021

Using VSCode with pipenv

I found out how to use pipenv environment with VS Code from the article “Visual Studio Code, Python and pipenv”. Thanks, Benjamin Pack! I saved the text for myself. First, find out where pipenv has created your virtualenv setup and stashed the python executable you are using. From the command line in your project folder (where your Pipfile is), execute the following: pipenv --py This will give you the full path to your virtualenv python install....

March 15, 2021