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:
- The user will pay a usage based hosting fee
- We will develop GitHub actions workflow that publish a ReactPy application to the cloud
- 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.
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:
cwd_dir: Thecwddirectory for us tocdinto before executing commands.application_path: The dotted path tomy.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 publishedapp_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.