From 009e16162e3025940ef1642327f28e5fe9c7d65d Mon Sep 17 00:00:00 2001 From: mazxd Date: Mon, 24 Mar 2025 22:12:06 +0800 Subject: [PATCH] ci: first commit --- .cursorignore | 7 +++++++ .env | 18 +++++++++--------- .gitignore | 1 + backend/.cursorignore | 8 ++++++++ frontend/.cursorignore | 30 ++++++++++++++++++++++++++++++ 5 files changed, 55 insertions(+), 9 deletions(-) create mode 100644 .cursorignore create mode 100644 backend/.cursorignore create mode 100644 frontend/.cursorignore diff --git a/.cursorignore b/.cursorignore new file mode 100644 index 0000000..b9e9b25 --- /dev/null +++ b/.cursorignore @@ -0,0 +1,7 @@ +# Add directories or file patterns to ignore during indexing (e.g. foo/ or *.csv) +.vscode +node_modules/ +/test-results/ +/playwright-report/ +/blob-report/ +/playwright/.cache/ diff --git a/.env b/.env index 1d44286..7a688ea 100644 --- a/.env +++ b/.env @@ -13,14 +13,14 @@ FRONTEND_HOST=http://localhost:5173 # Environment: local, staging, production ENVIRONMENT=local -PROJECT_NAME="Full Stack FastAPI Project" -STACK_NAME=full-stack-fastapi-project +PROJECT_NAME="BaiPanSou" +STACK_NAME=BaiPanSou # Backend BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com" -SECRET_KEY=changethis -FIRST_SUPERUSER=admin@example.com -FIRST_SUPERUSER_PASSWORD=changethis +SECRET_KEY=baomihua200712 +FIRST_SUPERUSER=mzaxd0712@gmail.com +FIRST_SUPERUSER_PASSWORD=200712 # Emails SMTP_HOST= @@ -32,11 +32,11 @@ SMTP_SSL=False SMTP_PORT=587 # Postgres -POSTGRES_SERVER=localhost +POSTGRES_SERVER=192.168.1.99 POSTGRES_PORT=5432 -POSTGRES_DB=app -POSTGRES_USER=postgres -POSTGRES_PASSWORD=changethis +POSTGRES_DB=bps_dev +POSTGRES_USER=mzaxd +POSTGRES_PASSWORD=rootroot SENTRY_DSN= diff --git a/.gitignore b/.gitignore index a6dd346..016322e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ node_modules/ /playwright-report/ /blob-report/ /playwright/.cache/ +backend/.idea/ diff --git a/backend/.cursorignore b/backend/.cursorignore new file mode 100644 index 0000000..63f67bc --- /dev/null +++ b/backend/.cursorignore @@ -0,0 +1,8 @@ +__pycache__ +app.egg-info +*.pyc +.mypy_cache +.coverage +htmlcov +.cache +.venv diff --git a/frontend/.cursorignore b/frontend/.cursorignore new file mode 100644 index 0000000..75e25e0 --- /dev/null +++ b/frontend/.cursorignore @@ -0,0 +1,30 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local +openapi.json + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? +/test-results/ +/playwright-report/ +/blob-report/ +/playwright/.cache/ +/playwright/.auth/ \ No newline at end of file