[PYTHON] Settings until the Dango project is started on the server with Pycharm

Introduction

Since it was decided to build the development environment from the beginning, only the outline is recorded.

environment

Windows 10 Home PyCharm Community Edition 2019.1.3 python 3.7.3 Django 3.0

procedure

Install PyCharm

https://www.jetbrains.com/ja-jp/pycharm/

Python installation

https://www.python.org/downloads/windows/

Django installation

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]

Create a Django project

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)".

image.png

in conclusion

Anaconda is an evil cult

Recommended Posts

Settings until the Dango project is started on the server with Pycharm
Until the start of the django tutorial with pycharm on Windows
Drawing tips with matplotlib on the server side
Until the Sphinx documentation is published on GitHub
Until the web application is released on Sakura VPS
Access the host SQL Server with python27 / pyodbc on the container
Try the Taxii server (1. Server settings)
Getting Started with Django with PyCharm
How is the progress? Let's get on with the boom ?? in Python
Get started with the Python framework Django on Mac OS X
I tried to get started with Bitcoin Systre on the weekend
Get started with MicroPython (on macOS)
The universe is dangerous with PyEphem
Getting started with USD on Windows
Try the Taxii server (3.gunicorn settings)
Getting started with Python 3.8 on Windows
Notes on using matplotlib on the server
Get the width of the div on the server side with Selenium + PhantomJS + Python
Connect to VPN with your smartphone and turn off / on the server
Edit the file of the SSH connection destination server on the server with VS Code
Install the python module with pip on a server without root privileges