Skip to content

security: add .gitignore and cleanup repository#1

Open
FelineFantasy wants to merge 5 commits into
flatplanet:masterfrom
FelineFantasy:master
Open

security: add .gitignore and cleanup repository#1
FelineFantasy wants to merge 5 commits into
flatplanet:masterfrom
FelineFantasy:master

Conversation

@FelineFantasy

Copy link
Copy Markdown

Hi! I noticed that some local development and sensitive files were accidentally tracked in the repository. This Pull Request fixes that and cleans up the project.

🛠️ What has been changed:

  1. Added .gitignore: Implemented a standard configuration to automatically block compiled bytecode (__pycache__/, *.pyc) and local databases from being pushed in the future.
  2. Removed db.sqlite3 from tracking: Extracted the active SQLite file from the remote repository. According to Django architecture, the database should be generated locally on startup using migrations (python manage.py migrate).
  3. Cleaned up bytecode cache: Purged hidden __pycache__ directories to keep the source tree clean.

This patch improves repository security, reduces build size, and fixes tracking issues.

FelineFantasy

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant