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

Long-term Platform.sh support tasks #90

Closed
ehmatthes opened this issue Aug 19, 2022 · 2 comments
Closed

Long-term Platform.sh support tasks #90

ehmatthes opened this issue Aug 19, 2022 · 2 comments

Comments

@ehmatthes
Copy link
Owner

ehmatthes commented Aug 19, 2022

This is a supplement to #89, which I'm hoping to close in the current scope of work. This issue will be lower priority, and will likely be open for a longer time.

@ehmatthes ehmatthes mentioned this issue Aug 19, 2022
20 tasks
@ehmatthes
Copy link
Owner Author

Tasks

  • Set a more specific ALLOWED_HOSTS entry; currently using '*'.
  • Consider breaking requirements into requirements.txt and requirements_remote.txt.
    • For now I'll use existing approach to adding requirements, but this approach makes more sense for any platform that supports it.
  • Build support for the nested version of startproject.
    • Target deployment of the polls project!
  • Rich would make this output so much more meaningful to most people.
  • Write up a blog post using dsd and platform.sh to deploy the completed polls project easily.
    • Consider showing that the deployment process works whether using startproject flat or nested.
  • Requires that user has platformshconfig installed; try to remove local dependence on this package.
    • pip install platformshconfig.
    • This requirement could probably be removed locally. The only thing it's needed for is to determine if settings are being evaluated in the platform.sh environment. This could probably be done with an os.environ check, and then platformshconfig could be imported inside the platform.sh-specific settings block.
    • For now, require it locally to match what their template shows.
    • platformshconfig is_valid_platform() source
  • Support Pipenv.
  • Look at default region in test script. May want to build a CLI arg for --platform_sh-region in the platform create call.

@ehmatthes
Copy link
Owner Author

Consolidated to #92.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant