"Django 개발서버 실행"의 두 판 사이의 차이

26번째 줄: 26번째 줄:
Quit the server with CONTROL-C.
Quit the server with CONTROL-C.
</source>
</source>
:→<nowiki>http://127.0.0.1:8000/</nowiki> 혹은 <nowiki>http://localhost:8000/</nowiki> 에서 사이트 확인
:→<nowiki>"http://127.0.0.1:8000/"</nowiki> 혹은 <nowiki>"http://localhost:8000/"</nowiki> 에서 사이트 확인


==참고 자료==
==참고 자료==

2017년 2월 28일 (화) 22:58 판

1 개념

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

2 명령

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

3 예시

  • DJANGO 가상 환경에서 개발 서버 구동
(DJANGO) johnjeong@JohnJeong4p:~/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 }}