mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-10 11:12:13 +02:00
chore: cleaup mps v1 billing (#507)
* chore: cleaup mps v1 billing * chore: remove legacy file upload path * chore: implement review comments
This commit is contained in:
parent
ac01f7775e
commit
fdb7f92fcc
36 changed files with 268 additions and 1319 deletions
|
|
@ -29,7 +29,7 @@ Contributor setup and service startup are documented in `docs/contribution/setup
|
|||
|
||||
## Environment Configuration
|
||||
|
||||
- `api/.env` - Backend environment variables. Source this when running diagnostic scripts or one-off services against the dev DB (e.g. `python -m api.services.admin_utils.local_exec`).
|
||||
- `api/.env` - Backend environment variables. Source this when running repo-owned backend scripts against the dev DB (e.g. `python -m scripts.dump_docs_openapi`).
|
||||
- `api/.env.test` - Test-only environment variables. Source this when running pytest so tests hit the test DB and never the dev/prod credentials in `api/.env`.
|
||||
- `ui/.env` - Frontend environment variables
|
||||
|
||||
|
|
@ -39,6 +39,6 @@ Typical invocation:
|
|||
# Tests
|
||||
source venv/bin/activate && set -a && source api/.env.test && set +a && python -m pytest api/tests/...
|
||||
|
||||
# Diagnostics / scripts
|
||||
source venv/bin/activate && set -a && source api/.env && set +a && python -m api.services.admin_utils.local_exec
|
||||
# Backend scripts
|
||||
source venv/bin/activate && set -a && source api/.env && set +a && python -m scripts.dump_docs_openapi
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue