git clone git@github.com:Lyedson-sr/EventU_Back.gitcp .env.example .env.dockerEm seguida, edite o arquivo .env.docker:
SECRET_KEY=sua_secret_key_super_segura_aqui
ALLOWED_HOSTS=*
DEBUG=sua_opcao_de_debug
POSTGRES_DB=seu_banco
POSTGRES_USER=seu_user
POSTGRES_PASSWORD=sua_senha
POSTGRES_PORT=5432
POSTGRES_HOST=postgres
REDIS_URL=redis://redis:6379
EMAIL_HOST_USER=seu_email_host_user
EMAIL_HOST_PASSWORD=seu_email_host_password
DEFAULT_FROM_EMAIL=seu_default_from_emaildocker compose up --buildgit clone git@github.com:Lyedson-sr/EventU_Back.gitcurl -LsSf https://astral.sh/uv/install.sh | shirm https://astral.sh/uv/install.ps1 | iexuv --versionuv sync.venv\Scripts\activatesource .venv/bin/activatecp .env.example .envEm seguida, edite o arquivo .env:
SECRET_KEY=sua_secret_key_super_segura_aqui
ALLOWED_HOSTS=*
DEBUG=sua_opcao_de_debug
POSTGRES_DB=seu_banco
POSTGRES_USER=seu_user
POSTGRES_PASSWORD=sua_senha
POSTGRES_PORT=5432
POSTGRES_HOST=localhost
REDIS_URL=redis://127.0.0.1:6379
EMAIL_HOST_USER=seu_email_host_user
EMAIL_HOST_PASSWORD=seu_email_host_password
DEFAULT_FROM_EMAIL=seu_default_from_emaildocker compose postgres redis uppython3 manage.py makemigrationsE então:
python3 manage.py migratepython3 manage.py runserver