> For the complete documentation index, see [llms.txt](https://www.dicas-de-django.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.dicas-de-django.com.br/000-django-boilerplate-e-cookiecutter-django.md).

# Dica 1 - Django boilerplate e cookiecutter-django

[![](/files/-MfuAOwUjEsk4qZiRsOx)](https://youtu.be/OYcOpcPcp8Y)

**Importante:** nas próximas dicas, troque

![](/files/5yQAAuqmpHdOp0r1qaxa)

Ou seja, remova a `\` no meio das tags.

[django-boilerplate](https://github.com/rg3915/django-boilerplate)

[boilerplate2.sh](https://gist.github.com/rg3915/a264d0ade860d2f2b4bf)

[cookiecutter-django](https://github.com/pydanny/cookiecutter-django)

```
python -m venv .venv
source .venv/bin/activate

pip install "cookiecutter>=1.7.0"
cookiecutter https://github.com/pydanny/cookiecutter-django
pip install -r requirements/local.txt 
python manage.py migrate

createdb myproject -U postgres

python manage.py migrate
```
