Follow these steps to open this sample in a container using the VS Code Remote - Containers extension:
-
Please ensure that you have Docker and docker-compose installed in your system
-
Clone this repository to your local filesystem.
-
Press
F1
and select the Remote-Containers: Open Folder in Container... command. -
Select the cloned copy of this folder, wait for the container to start.
-
Press
ctrl+shift+P
to open a terminal window. -
Type
cd drf_learner && poetry run python manage.py runserver 0.0.0.0:8000
to run the app.