Deploying FrameworX runtime components for production environments.
Parent Page: Deployment (Reference)
Deploying FrameworX runtime components for production environments.
Parent Page: Deployment (Reference)
For Windows-only solutions targeting .NET Framework 4.8:
For solutions targeting Linux, Docker, or edge devices:
Option | Components | Size | Use Case |
---|---|---|---|
Runtime-Only | TServer.exe, drivers, minimal files | ~100 MB | Production edge devices |
Full Platform | All files including Designer | ~500 MB+ | Enable remote ClickOnce Designer |
TWebServices-Only | Communication server only | Minimal | Development/testing |
Since Windows uses the full platform installation:
cmd
cd C:\Program Files (x86)\Tatsoft\FrameworX
InstallTStartup.exe /service
Deploy minimal components for production:
Required Files:
/opt/frameworkx/
??? TServer.exe
??? TWebServices.exe
??? Driver assemblies
??? Solution files (.tproj, .dbsln)
??? Runtime dependencies
Linux Installation:
bash
# Create directory
sudo mkdir -p /opt/frameworkx
# Copy runtime files
sudo cp -r /source/net8.0/runtime/* /opt/frameworkx/
# Set permissions
sudo chmod +x /opt/frameworkx/*.exe
# Start runtime
./TServer.exe /solution:MySolution.tproj
Deploy all files to enable ClickOnce Designer access:
Benefits:
http://device-ip:10108/solutions
Deployment:
bash
# Copy entire platform
sudo cp -r /source/net8.0/* /opt/frameworkx/
# Includes Designer files (not executed on device)
# Size: ~500 MB+
Minimal deployment for development:
Configure in Runtime → Startup or manually:
xml
<service>
<name>FrameworXRuntime</name>
<displayName>FrameworX Runtime Service</displayName>
<description>FrameworX Solution Runtime</description>
<startMode>Automatic</startMode>
</service>
Create /etc/systemd/system/frameworkx.service
:
ini
[Unit]
Description=FrameworX Runtime
After=network.target
[Service]
Type=simple
User=frameworkx
ExecStart=/opt/frameworkx/TServer.exe /solution:MySolution.tproj
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Enable and start:
bash
sudo systemctl enable frameworkx
sudo systemctl start frameworkx
Configure TWebServicesRunPrograms.json
:
json
{
"appSettings": {
"RunPrograms": {
"Solution1": "/opt/frameworkx/solutions/MySolution.tproj",
"CustomApp": "/usr/local/bin/customapp"
}
}
}
Location: /home/frameworkx/MachineSettings/
(Linux) or C:\Users\Public\Documents\FrameworX\MachineSettings\
(Windows)