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

Appropriate settings and code to manage storages for static site generation #12

Open
3 tasks
veselosky opened this issue May 19, 2024 · 0 comments
Open
3 tasks

Comments

@veselosky
Copy link
Owner

When running in production mode and generating static sites, we want all storages to be S3-compatible buckets. However, test automation should be configured differently, probably should use local files for performance. Local dev may want one or the other depending on circumstances.

  • Create logic in the settings.py to switch configurations per environment
  • Update example.env with all settings needed to configure S3 storages for dev and prod
  • Create a new storage class that combines features of S3Storage and ManifestStaticFilesStorage (using ManifestFilesMixin I assume)
@veselosky veselosky added this to the Configurator 0.1 milestone Jul 7, 2024
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