diff --git a/backend/requirements.txt b/backend/requirements.txt index 8864aae..a66860e 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -3,6 +3,7 @@ uvicorn[standard]==0.24.0 sqlalchemy==2.0.23 asyncpg==0.29.0 pydantic==2.5.2 +email-validator==2.2.0 pydantic-settings==2.1.0 python-jose[cryptography]==3.3.0 bcrypt==4.2.1 diff --git a/deploy/deploy_remote.sh b/deploy/deploy_remote.sh index f3c6e45..c11e0af 100644 --- a/deploy/deploy_remote.sh +++ b/deploy/deploy_remote.sh @@ -35,7 +35,8 @@ sudo -n systemctl daemon-reload sudo -n systemctl enable ai-agent-admin-backend.service sudo -n systemctl restart ai-agent-admin-backend.service -mkdir -p "$WEB_DIR" +sudo -n mkdir -p "$WEB_DIR" +sudo -n chown ubuntu:ubuntu "$WEB_DIR" rm -rf "$WEB_DIR"/* cp -a "$APP_DIR/frontend/dist/." "$WEB_DIR/"