---
# System prepended metadata

title: setting django

---

# setting django 
## branch know
Here is my branch

| branch name    |    hint    |  mistake|
| :---       | :----:     | :----:|
| master     | first push | env problem |
| photo_app  | new_app    | the path setting   |
| template   | html view  |class set |
| db_add     | db install |  db conmand learn|    

**Is my first time to learn the branch 
and know why the brnach is importent**
## first step(use by env)

open terminal


`cd {the filepath} `


when the to file path typing


`pipenv shell`


open env infile typing
`pip  install django`


**if you already install just pass**

## second step (start project)
add new project in


`django-admin startproject {pj_name}`

`ls pr_name`
then you will see

``` tree
mysite/
    manage.py
    mysite/
        __init__.py
        settings.py
        urls.py
        asgi.py
        wsgi.py
```


you if you typing
`python manage.py runserver`


``` console
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
```
