[PYTHON] [Django] Memorandum of environment construction procedure

TL;DR A memorandum of environment construction procedures for development using python + django

procedure

Create folder

> cd work
> mkdir sample
> cd sample

Create virtual environment

> python -m venv develop

Enable virtual environment

> source develop/bin/activate

Installation of required libraries

> pip install django

Create a django project

> django-admin startproject myporject

Move to the created django project

> cd myproject

Migration implementation

> python manage.py makemigrations
> python manage.py migrate

Create superuser

After typing the command, set the user name, email address, and password.

> python manage.py createsuperuser

Start the server

> python manage.py runserver

Recommended Posts

[Django] Memorandum of environment construction procedure
Django environment construction
django environment construction
Django project environment construction
Django development environment construction memo
[Memo] Construction of cygwin environment
Anaconda3 python environment construction procedure
Docker + Django + React environment construction
django project development environment construction
Environment construction of python2 & 3 (OSX)
Memorandum of understanding for environment construction of AutoML library PyCaret
Environment construction of python and opencv
Django memorandum
Start of self-made OS 1. Environment construction
[For beginners] Django -Development environment construction-
Environment construction memo of pyenv + conda
Environment construction of python3.8 on mac
Environment construction of "Tello_Video" on Ubuntu
Python (anaconda) development environment construction procedure (SpringToolsSuites) _2020.4
Python project environment construction procedure (for windows)
Vue.js + Flask environment construction memorandum ~ with Anaconda3 ~
Environment construction procedure: Ubuntu + Apache2 + Python + Pyramid
Construction of development environment for Choreonoid class
DeepIE3D environment construction
Emacs-based environment construction
Linux environment construction
Python environment construction
Environment construction (python)
CodeIgniter environment construction
python environment construction
Python --Environment construction
Python environment construction
Golang environment construction
python environment construction
Easy-to-understand explanation of Python Web application (Django) even for beginners (1) [Environment construction]
Word2vec environment construction
VS Code + Azure Functions + Python environment construction procedure
Installation of Python3 and Flask [Environment construction summary]
Kotlin / Native development environment construction & installation procedure & tutorial
Poetry-virtualenv environment construction with python of centos-sclo-rh ~ Notes
[Django3] Environment construction and various settings summary [Python3]
From 0 to Django development environment construction to basic operation
Procedure to set hydrogen of atom (virtual environment)
Ubuntu 16.04 LTS, beginner memorandum of environment construction to switch anaconda version with pyenv
Memorandum of fastText (editing)
memorandum of vi command
Environment construction: GCP + Docker
Unification of Python environment
Go language environment construction
ConoHa environment construction memo
homebrew python environment construction
PyData related environment construction
Impressions of touching Django
Anaconda-4.2.0-python3 environment construction (Mac)
Python development environment construction
Google App Engine / Python development environment construction procedure (late 2014)
elasticsearch_dsl Memorandum of Understanding
YOLO v4 environment construction ①
Web application made with Python3.4 + Django (Part.1 Environment construction)
pyenv + fish environment construction
python2.7 development environment construction