$ python3 -m venv pyworks
$ ls pyworks/
bin include lib pyvenv.cfg
$ . pyworks/bin/activate
(pyworks)$ pip install Django
(pyworks) $ cd pyworks
(pyworks) $ django-admin startproject mysite
(pyworks) $ cd mysite
(pyworks) $ python manage.py startapp myapp
Recommended Posts