https://github.com/bergpb/curso-django-youtube
Aplicação desenvolvida no curso de Django
https://github.com/bergpb/curso-django-youtube
Last synced: 3 months ago
JSON representation
Aplicação desenvolvida no curso de Django
- Host: GitHub
- URL: https://github.com/bergpb/curso-django-youtube
- Owner: bergpb
- Created: 2019-09-24T16:37:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-07T20:22:17.000Z (over 2 years ago)
- Last Synced: 2024-04-14T03:49:28.481Z (about 2 years ago)
- Language: Python
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Curso Django - Canal Hora de Codar
Tenha o ```python3``` e o ```pip``` instalado.
1. Instalado o virtualenv:
- pip3 install virtualenv --user
1. Criando uma nova virtualenv:
- virtualenv .venv
1. Ativando a .venv:
- source .venv/bin/activate
1. Instalando os requerimentos do projeto:
- pip install -r requirements.txt
1. Criando as migrations:
- python manage.py makemigrations && python manage.py migrate
1. Criando um usuario admin:
- python manage.py createsuperuser
1. Rodando o projeto:
- python manage.py runserver
Outros comandos:
1. Criando um novo projeto com o django:
- django-admin startproject nomeprojeto
1. Criando uma app:
- django-admin startapp nomedaapp