Complete refactor of environment configuration and Docker setup for development and production.

- Dev and prod both now run with the same exact docker configuration, except the .env file copied in.
- Removed the `.env` file and added a new `.env.dev` file for development settings, including database configuration and API keys.
- Introduced a `.envrc` file for automatic venv activation.
- Updated `deploy.sh` to utilize `uv` for running management commands and added a command for building Tailwind CSS.
- Created `docker-compose.yml` for local development with PostgreSQL, ensuring proper service dependencies.
- Deleted unnecessary files such as `docker-compose_db_only.yml` and `requirements.txt` to streamline the project structure.
This commit is contained in:
badblocks 2025-05-05 21:48:59 -07:00
parent 0d19f0f060
commit 9c41f63247
14 changed files with 347 additions and 357 deletions

View file

@ -1,7 +1,7 @@
[project]
name = "pkmntrade-club"
version = "0.1.0"
description = "Add your description here"
description = "A website for trading Pokémon TCG Pocket Cards"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
@ -9,7 +9,6 @@ dependencies = [
"certifi==2022.12.7",
"cffi==1.17.1",
"charset-normalizer==3.0.1",
"cookiecutter==2.6.0",
"crispy-tailwind==1.0.3",
"cryptography==39.0.1",
"defusedxml==0.7.1",
@ -19,13 +18,18 @@ dependencies = [
"django-crispy-forms==2.3",
"django-daisy==1.0.13",
"django-debug-toolbar==4.4.6",
"django-el-pagination==4.1.2",
"django-environ==0.12.0",
"django-meta==2.4.2",
"django-tailwind-4[reload]==0.1.4",
"django-widget-tweaks==1.5.0",
"gevent==25.4.1",
"granian==2.2.5",
"gunicorn==23.0.0",
"idna==3.4",
"oauthlib==3.2.2",
"packaging==23.1",
"pillow>=11.2.1",
"playwright==1.51.0",
"psycopg==3.2.3",
"psycopg-binary==3.2.3",
"pycparser==2.21",