Django 개발서버 실행

1 개념[ | ]

Django development server
Django 개발서버 실행
  • 개발서버를 실행하여 만들어진 프로젝트 구동 확인

2 명령[ | ]

  • 루트 디렉토리로 이동하여 manage.py 파일이 있는지 확인 후 서버구동 명령 실행
python manage.py runserver

3 예시[ | ]

(DJANGO) johnjeong@zetawiki:~/DJANGO/mysite$ python manage.py runserver
Performing system checks...

System check identified no issues (0 silenced).

You have 13 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.

February 28, 2017 - 13:51:36
Django version 1.10.5, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
→"http://127.0.0.1:8000/" 혹은 "http://localhost:8000/" 에서 동작 확인

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}