You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,13 @@
4
4
5
5
To run the sample:
6
6
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.
13
14
14
15
* 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.
0 commit comments