This guide explains how to deploy the application, including backend, frontend, NGINX configuration, and systemd service setup.
/home/YOUR_USER/
DbConnection.txt file where you need to provide your SQL credentials:{
"USER": "your_username",
"SERVER": "your_server_ip,port",
"PASSWORD": "your_secure_password",
"DATABASE": "your_database",
"DIVISION": "YOUR_DIVISION",
"TERMINAL": "YOUR_TERMINAL",
"ORDERSYNCAPIURL": "<https://your-api-url.com>"
}
Replace all placeholders with your actual values.
/var/www/html/frontend/
appConfig.json with the correct API URL:{
"apiUrl": "<http://your-server-ip>:your-port/your-app/api",
"Version": "1.0.0.1"
}
appConfig.json inside the assets folder:{
"apiUrl": "<http://your-server-ip>:your-port/your-app/api",
"Version": "1.0.0.1"
}
Make sure the IP, port, and app path match your deployment.