Skip to content

Cloud platform integration #1065

Open
@Archmonger

Description

@Archmonger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag-profitCan generate profit for ReactPypriority-2-moderateShould be resolved on a reasonable timeline.type-ciAbout change and updates to the Continuous Integration

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions