Skip to content

Commit 8dcd261

Browse files
Update README.md
1 parent 80980ed commit 8dcd261

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
To run the sample:
66

7-
1. In VS Code Terminal, run `python -m venv env` to create a virtual environment as described in the tutorial.
8-
2. Press Ctrl + Shift + P and run command `Python: Select Interpreter`. If possible, select the interpreter ending with "('env': venv)"
9-
3. Activate the virtual environment by running `env/scripts/activate` if you are on Windows or run `source env/bin/activate` if you are on Linux/MacOS.
10-
4. In terminal, run `pip install django`.
11-
5. Create and initialize the database by running `python manage.py migrate`.
12-
6. From Run and Debug section, select `Python: Django` launch configuration and hit F5.
7+
1. Clone the repo by running 'git clone -b tutorial https://github.com/microsoft/python-sample-vscode-django-tutorial.git'
8+
2. In VS Code Terminal, run `python -m venv env` to create a virtual environment as described in the tutorial.
9+
3. Press Ctrl + Shift + P and run command `Python: Select Interpreter`. If possible, select the interpreter ending with "('env': venv)"
10+
4. Activate the virtual environment by running `env/scripts/activate` if you are on Windows or run `source env/bin/activate` if you are on Linux/MacOS.
11+
5. In terminal, run `pip install django`.
12+
6. Create and initialize the database by running `python manage.py migrate`.
13+
7. From Run and Debug section, select `Python: Django` launch configuration and hit F5.
1314

1415
* For steps on running this app in a Docker container, see [Python in containers](https://code.visualstudio.com/docs/containers/quickstart-python) on the VS Code Docs website.
1516

0 commit comments

Comments
 (0)