Skip to content

Comments

feat: automate migrations and standardize docker environment#17

Open
msRaquel wants to merge 1 commit intomainfrom
dockerfile
Open

feat: automate migrations and standardize docker environment#17
msRaquel wants to merge 1 commit intomainfrom
dockerfile

Conversation

@msRaquel
Copy link

Summary
This PR introduces Docker to our development workflow. It standardizes our environment (Python 3.11, system dependencies) and automates the database setup process to eliminate "it works on my machine" issues.

Key Changes
Automated Migrations: The container now runs python manage.py migrate automatically on startup. No more manual migration steps needed after pulling new code.

Environment Parity: Everyone now runs the same Linux-based environment, matching our intended production setup.

Security & Configuration: Moved sensitive settings (Secret Key, Debug mode) to a .env file structure (check the updated README for the template).

Optimized Build: Added .dockerignore to keep images small and prevent local junk (like db.sqlite3 or venv) from leaking into the container.

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