reactpy icon indicating copy to clipboard operation
reactpy copied to clipboard

Cloud platform integration

Open Archmonger opened this issue 2 years ago • 0 comments

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 avatar Jun 16 '23 23:06 Archmonger