--python 3.5 is installed --virtualenv must be installed
~/
$ mkdir -p ~/app/virtualenv
$ cd ~/app/virtualenv
$ virtualenv -p python3.5 project_name
$ ls -l
total 0
drwxr-xr-x 5 user_name group_name 170 12 28 22:28 project_name
~/
$ . ~/app/virtualenv/project_name/bin/activate
$ python --version
Python 3.5.0
~/
$ pip install django
Collecting django
Using cached Django-1.9-py2.py3-none-any.whl
Installing collected packages: django
Successfully installed django-1.9
~/
$ mkdir -p ~/app/projects/project_name
~/app/projects/project_name
$ cd ~/app/projects/project_name
$ django-admin.py startproject project_name
├── run.sh
└── project_name
├── manage.py
└── project_name
├── __init__.py
├── settings.py
├── urls.py
└── wsgi.py
run.create sh
$ vim run.sh
run.sh(Set start command)
python ./project_name/manage.py runserver
Give execute permission
$ chmod +x run.sh
DB
~/app/projects/project_name
$ python ./project_name/manage.py migrate
~/app/projects/project_name
$ python ./project_name/manage.py createsuperuser
run.sh
$ ./run.sh
http://localhost:8000
--The following screen is displayed
http://localhost:8000/admin
--The following management screen login is displayed
--Screen display after login