You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

If you finish installing django as well as python, you may able to create django project by following command

$ django-admin startproject lifeplanet

For your information, I just created my project as "lifeplanet" - meaning you can use your own project name.


Once you create your project space without any error, you will be able to see following directory tree. 

lifeplanet/
    manage.py
    mysite/
        __init__.py
        settings.py
        urls.py
        wsgi.py


If you see the same files like I listed above, now is the time for you to run your web server based on Python. You can run your web server by following command line on the root directory of your project having manage.py:

$ python manage.py runserver


If you have no issues, you will be able to see following message:

$ python manage.py runserver
Performing system checks...

You have 15 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.

System check identified no issues (0 silenced).

November 07, 2018 - 23:33:01
Django version 2.1.1, using settings 'lifeplanet.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[07/Nov/2018 23:33:13] "GET / HTTP/1.1" 200 16348
[07/Nov/2018 23:33:13] "GET /static/admin/css/fonts.css HTTP/1.1" 200 423
[07/Nov/2018 23:33:13] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[07/Nov/2018 23:33:13] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[07/Nov/2018 23:33:13] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564
Not Found: /favicon.ico
[07/Nov/2018 23:33:13] "GET /favicon.ico HTTP/1.1" 404 1976



  • No labels