Since it was decided to build the development environment from the beginning, only the outline is recorded.
Windows 10 Home PyCharm Community Edition 2019.1.3 python 3.7.3 Django 3.0
https://www.jetbrains.com/ja-jp/pycharm/
https://www.python.org/downloads/windows/
There is a terminal tab at the bottom of pycharm, so execute the following command there. Install the latest version without specifying the version (3.0 this time)
python
$ pip install django[==Version number]
This time, name the project sandbox_project. Please note that the project name is underscore (_) and the words are connected.
python
$ django-admin startproject project name
Move to the project directory and hit the following command and it will work.
python
$ python manage.py runserver
However, pycharm has a button on the upper right that allows you to run server (normal / debug) with GUI, so set it. Click the ▽ button to open the Edit configurations screen. The settings are as shown in the photo. Now you can easily perform "execute by pressing the play mark" and "execute debug by pressing the bug mark (breakpoints are valid)".
Anaconda is an evil cult
Recommended Posts