mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 04:31:09 -05:00
Integrates django-cotton into the project by adding it to INSTALLED_APPS and pyproject.toml, and refactors base.html to use cotton components for the auth modal and toast container, creating new component files for these elements. Replit-Commit-Author: Agent Replit-Commit-Session-Id: eff39de1-3afa-446d-a965-acaf61837fc7 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d6d61dac-164d-45dd-929f-7dcdfd771b64/eff39de1-3afa-446d-a965-acaf61837fc7/jGCMVeA
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
modules = ["bash", "web", "nodejs-20", "python-3.13", "python3"]
|
|
|
|
[nix]
|
|
channel = "stable-25_05"
|
|
packages = ["freetype", "gdal", "geos", "gitFull", "lcms2", "libimagequant", "libjpeg", "libtiff", "libwebp", "libxcrypt", "openjpeg", "playwright-driver", "postgresql", "proj", "tcl", "tk", "uv", "zlib"]
|
|
|
|
[agent]
|
|
expertMode = true
|
|
|
|
[workflows]
|
|
runButton = "Project"
|
|
|
|
[[workflows.workflow]]
|
|
name = "Project"
|
|
mode = "parallel"
|
|
author = "agent"
|
|
|
|
[[workflows.workflow.tasks]]
|
|
task = "workflow.run"
|
|
args = "ThrillWiki Server"
|
|
|
|
[[workflows.workflow]]
|
|
name = "ThrillWiki Server"
|
|
author = "agent"
|
|
|
|
[[workflows.workflow.tasks]]
|
|
task = "shell.exec"
|
|
args = "cd backend && /nix/store/75k8jgyjrh86099bksak7a1frph0j611-uv-0.7.20/bin/uv run python manage.py runserver 0.0.0.0:5000"
|
|
waitForPort = 5000
|
|
|
|
[workflows.workflow.metadata]
|
|
outputType = "webview"
|
|
|
|
[[ports]]
|
|
localPort = 5000
|
|
externalPort = 80
|
|
|
|
[[ports]]
|
|
localPort = 34277
|
|
externalPort = 3000
|
|
|
|
[[ports]]
|
|
localPort = 41067
|
|
externalPort = 3001
|
|
|
|
[deployment]
|
|
deploymentTarget = "autoscale"
|
|
run = ["gunicorn", "--bind=0.0.0.0:5000", "--reuse-port", "thrillwiki.wsgi:application"]
|
|
build = ["uv", "pip", "install", "--system", "-r", "requirements.txt"]
|