Neopric-Inc / NeoApps.AI-CodeGenerator

World's first no-code low-code app builder focuses on a data-first approach, allowing users to create applications from scratch. The code generator builds a drag-and-drop React application along with a .NET Core API and a MySQL database.
https://neoapps.ai/
BSD 3-Clause "New" or "Revised" License
18 stars 6 forks source link

Create Standalone VM script with Nginx which allows to generate app and serve directly in Linux VM. #24

Open NeoAppsAI opened 1 week ago

NeoAppsAI commented 1 week ago

Create a Linux VM: The user will create a blank Linux VM image and enable SSL based on the configuration provided by their cloud provider. They will assign a static IP and map it to the domain DNS, including subdomains.

Pull the repository: The user will pull the repository and run the setup script. This script will install all necessary dependencies and configurations.

Script execution: Once the script is executed, it will create an endpoint that allows access to the Streamlit app's GUI through Nginx (referred to as Nginx-1).

GUI interaction: From the GUI interface, the user will execute a second script. This will generate code for the backend, frontend, and Node-RED.

Server startup: Afterward, the user will start the server. During this process, the system will build the Dockerfile, run it in a Docker container, and map the app to another Nginx instance (referred to as Nginx-2).

Accessing the web app: Once the server is up and running, the user can access the web app directly via the mapped subdomain.