git clone [repository url]
python -m venv env
.\env\Scripts\activate
source env/bin/activate
pip install -r requirements.txt
Crea un archivo .env en la raíz del proyecto y rellénalo siguiendo el archivo .env.example.
python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
python manage.py migrate
Nota: si hay conflictos con las migraciones ejecutar: python manage.py makemigrations --merge
presionar 'y' si sale el siguiente mensaje: Conflicts detected; would you like to merge these migrations [y/n]?
python manage.py runserver
paso previo: pip freeze > requirements.txt
git add .
git commit -m "Implementacion de Reconocimiento de placas"
git pull origin main
Nota: Resuelve los conflictos manualmente (usa tu editor o GitHub Desktop, VS Code, etc.).
Una vez resueltos, ejecuta:
opcional: git add .
git commit -m "Conflictos resueltos"
git push origin main
git push origin main