aboutcode-org / aboutcode-org/vulnerablecode
Document PostgreSQL requirement for full test suite when using SQLite local setup
- Ngôn ngữ chính
- Python
- Star
- 702
- Fork
- 328
- Merge trung bình
- 3 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
Hi,
I set up VulnerableCode locally in GitHub Codespaces using the documented Makefile flow.
What worked:
- make dev
- make envfile
- make sqlite
- make run
The application started successfully with SQLite for local development.
What I observed:
- make test fails under SQLite because some tests rely on PostgreSQL-specific database features, including DISTINCT ON queries and JSON containment lookups.
The installation docs already mention SQLite caveats, but it would help contributors if the docs clearly stated that:
- SQLite is fine for quick local development and running the dev server
- PostgreSQL should be used for running the complete test suite
I’ve prepared a small docs clarification for this.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.