Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Use `.venv` for catalog virtualenv instead of `venv` (#4369)

Darien Springer0e2ed03c34c1
diff --git a/catalog/justfile b/catalog/justfile
index 30777f754..cb6bffcab 100644
--- a/catalog/justfile
+++ b/catalog/justfile
@@ -34,7 +34,7 @@ export CATALOG_AIRFLOW_VERSION := `grep '^apache-airflow' requirements-prod.txt
# Create a virtual environment using the project Python version
venv:
# Invokes `python<version>`, like `python3.10`
- bash -c "python$CATALOG_PY_VERSION -m venv venv/"
+ bash -c "python$CATALOG_PY_VERSION -m venv .venv/"
# Check that the active Python version matches the required Python version
check-py-version:
diff --git a/documentation/catalog/guides/quickstart.md b/documentation/catalog/guides/quickstart.md
index 02488e3b9..08b7763c4 100644
--- a/documentation/catalog/guides/quickstart.md
+++ b/documentation/catalog/guides/quickstart.md
@@ -52,8 +52,8 @@ To set up the local python environment along with the pre-commit hook, run:
<!-- vale Vale.Repetition = NO -->
```shell
-python3 -m venv venv
-source venv/bin/activate
+just venv
+source .venv/bin/activate
just catalog/install
```