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 摘要。