Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/borm/db/mysql_db/create_env_file.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""
This python script copies the env.example to .env if .env does not already exists.
This is similar to the bash command `mv example.env .env`.
It is used in all tox environments except the linting environment.
This python script copies .env.example to .env if .env does not already exist.
This is similar to the shell command `cp .env.example .env`.
Run it manually via ``uv run python -m borm.db.mysql_db.create_env_file`` for local MySQL setup;
unlike the PostgreSQL variant it is not currently invoked by any CI workflow.
Comment on lines 1 to +5
"""

from pathlib import Path
Expand Down
8 changes: 5 additions & 3 deletions src/borm/db/postgresql_db/create_env_file.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
"""
This python script copies the env.example to .env if .env does not already exists.
This is similar to the bash command `mv example.env .env`.
It is used in all tox environments except the linting environment.
This python script copies .env.example to .env if .env does not already exist.
This is similar to the shell command `cp .env.example .env`.
It is run as a CI workflow step (``uv run python -m borm.db.postgresql_db.create_env_file`` in
unittests.yml, coverage.yml, integrationtests.yml and python-publish.yml) and documented for
Comment on lines 1 to +5
local setup in the README.
"""

from pathlib import Path
Expand Down