Skip to content

LeoAnDev/django_cars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django_cars

Projeto Django Cars

Instalar o Django

pip install django

Atualizar o pip

python.exe -m pip install --upgrade pip

Saber versão do Django

django-admin --version

Saber versão do pip

pip --version

Saber versão do Python

py --version

Criando o projeto principal (core)

django-admin startproject app .

Subir o servidor

py manage.py runserver

Subir as migrations nativas

py manage.py migrate

Subir minhas migrations

py manage.py makemigrations

Criar superusuario

py manage.py createsuperuser

Criar aplicação

py manage.py startapp cars

Instalar a biblioteca dotenv

pip install python-dotenv

Criar aplicação

py manage.py startapp brands

Gerenciar imagens

py -m pip install Pillow

Criar o requirements.txt

pip freeze > requirements.txt

Instalar PostgreSQL

pip install psycopg

About

Projeto Django Cars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published