# create project

**Create Project**

```bash
Django-admin startproject myproject
```

```
cd myproject
```

**Run Server**

```
Python manage.py runserver
```

<figure><img src="https://664948176-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdX27l90MHtjXhtBupXys%2Fuploads%2Fsczg5G2zHmTWjU43MGtx%2Fimage.png?alt=media&#x26;token=b242d9a5-5374-4adb-ad83-f8e328940541" alt=""><figcaption></figcaption></figure>

**myproject/myproject/settings.py**

```python
TEMPLATES = [
    {
        'DIRS': [BASE_DIR / 'templates'], # ঠিক এইরকম
    },
]


STATIC_URL = 'static/'
STATICFILES_DIRS = [
    BASE_DIR / 'static',
]
STATIC_ROOT=(BASE_DIR/ "assets/")
```

**myproject/myproject/urls.py**

```python

from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [

]

if settings.DEBUG:
    urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
```

**Copy this folder and extract inside manage.py folder**

{% file src="https://664948176-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdX27l90MHtjXhtBupXys%2Fuploads%2FSaY71auQX9jPP8J5Kjz8%2Ftemplateandstaticfolder.zip?alt=media&token=82f43f85-1162-4a41-b3de-36dc93374a42" %}

```
python manage.py migrate
```

