Skip to content

Conversation

@copelco
Copy link
Member

@copelco copelco commented Dec 30, 2025

Continuing towards #1 -- Adds webapp management to the PythonAnywhere client and implements the full --automate-all deployment flow, including:

  • Adds webapp creation/reload methods using pythonanywhere-core's Webapp API
  • Modifies settings.py and wsgi.py templates for PythonAnywhere deployment
  • Uses python-dotenv to support environment variables (and generates boilerplate)
  • Copies the custom WSGI file after webapp creation (since PythonAnywhere overwrites it)
  • Adds CI workflow for running integration tests within django-simple-deploy to help catch regressions

Caveat: Currently only tested with django-simple-deploy's test project. Needs more testing with other project structures, like Django Girls.

@copelco copelco marked this pull request as ready for review December 30, 2025 20:41
@copelco copelco changed the title Automate all Support --automate-all deployment Dec 30, 2025
@copelco copelco merged commit 0686f7d into main Dec 31, 2025
2 checks passed
@copelco copelco deleted the automate-all branch December 31, 2025 14:31
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.

2 participants