DEV Community

Discussion on: What am I doing wrong? (I’m trying to make a Django project)

Collapse
 
alchermd profile image
John Alcher

This should work assuming you have python3

python3 -m venv venv
source ./venv/bin/activate
pip install django
django-admin startproject djangotest .
python manage.py runserver
Collapse
 
yobretyo profile image
Bret

THAT WORKED!!!! So, how do I re start the server after I’m done?

Collapse
 
alchermd profile image
John Alcher

You have to issue an interrupt signal by pressing CTRL+C to stop the server. If you just want to change some code and see the changes, the Django development server should pick those up and restart itself automatically.