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

Cloud platform integration #1065

Open
Archmonger opened this issue Jun 16, 2023 · 0 comments
Open

Cloud platform integration #1065

Archmonger opened this issue Jun 16, 2023 · 0 comments
Labels
flag-profit Can generate profit for ReactPy priority-2-moderate Should be resolved on a reasonable timeline. type-ci About change and updates to the Continuous Integration type-feature About new capabilities

Comments

@Archmonger
Copy link
Contributor

Archmonger commented Jun 16, 2023

Current Situation

We have no convenient way of integrating with cloud platforms.

Proposed Actions

We should consider providing auto-configuring ReactPy as a paid cloud service. To oversimplify the design:

  1. The user will pay a usage based hosting fee
  2. We will develop GitHub actions workflow that publish a ReactPy application to the cloud
  3. The GitHub actions workflow will need the following info
    • cwd_dir : The cwd directory for us to cd into before executing commands.
    • application_path: The dotted path to my.asgi:application, which is directly provided to an ASGI webserver we auto-configure.
    • site_api_key: Unique key that tells us what user account (and site tied to the user) is being published
    • app_name: Name of the app. The user will be able to view their published apps within an admin portal, and see resources/cost for each app. If a user attempts to deploy an app with the same name as an existing one, we will overwrite the existing app.
@Archmonger Archmonger added type-feature About new capabilities priority-2-moderate Should be resolved on a reasonable timeline. type-ci About change and updates to the Continuous Integration flag-profit Can generate profit for ReactPy labels Jun 16, 2023
@Archmonger Archmonger changed the title Cloud platform integrations Cloud platform integration Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag-profit Can generate profit for ReactPy priority-2-moderate Should be resolved on a reasonable timeline. type-ci About change and updates to the Continuous Integration type-feature About new capabilities
Projects
None yet
Development

No branches or pull requests

1 participant