Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate use of alternateconf.py for debug deployments #24

Closed
shaib opened this issue Jul 14, 2024 · 0 comments
Closed

Deprecate use of alternateconf.py for debug deployments #24

shaib opened this issue Jul 14, 2024 · 0 comments

Comments

@shaib
Copy link
Member

shaib commented Jul 14, 2024

alternateconf.py can be used to change definitions for debug deployments. It is currently used also to change the SITEURL setting.

But a better way to change SITEURL -- one that would not require the change of dependent settings (e.g. currently we have FEED_DOMAIN = SITEURL, which means if we override SITEURL in alternateconf.py, we also need to repeat that line there) -- is to set SITEURL from an environment variable. This would make easy to prepare alternate deployments locally, and even easier to make repository forks deploy to alternate sites, because environment variables can be defined at the repo (rather than source) level.

Option added in #22, in aa18c8c

@shaib shaib changed the title Document use of alternateconf.py for debug deployments Deprecate use of alternateconf.py for debug deployments Jan 4, 2025
shaib added a commit to shaib/pycon-il-2024 that referenced this issue Jan 10, 2025
@shaib shaib closed this as completed in b641357 Jan 10, 2025
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

No branches or pull requests

1 participant