aboutcode-org / aboutcode-org/vulnerablecode

Document PostgreSQL requirement for full test suite when using SQLite local setup

未關閉
#2,229 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
702
分支
328
平均合併
3 天 8 小時
30 天內合併 PR
3

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。