Install in code-server
code-server runs VS Code in the browser, allowing remote development. VSIX installation is required.
Prerequisites
- code-server installed and running
- Access to upload files to the server (SSH, SCP, etc.)
Download the Extension
Download the VSIX file to your server:
Download SF Veritas VSIX from Open VSX
Transfer to Server
# Using SCP
scp sf-veritas-extension-x.x.x.vsix user@server:/home/user/
# Or using rsync
rsync -av sf-veritas-extension-x.x.x.vsix user@server:/home/user/
Installation Steps
Method 1: Command Line (Recommended)
SSH into your server and run:
code-server --install-extension /path/to/sf-veritas-extension-x.x.x.vsix
Then restart code-server:
# If using systemd
sudo systemctl restart code-server
# Or manually restart the process
Method 2: Browser UI
- Open code-server in your browser
- Open the Extensions view (
Ctrl+Shift+X) - Click the
...menu - Select "Install from VSIX..."
- Navigate to the VSIX file location on the server
Verify Installation
- Refresh code-server in your browser
- Look for the SF Veritas icon in the Activity Bar
- Open the Command Palette (
Ctrl+Shift+P) - Verify "SF Veritas" commands are available
Configuration
Server Port Considerations
The SF Veritas local server runs on port 6776 by default. In a remote environment:
- Ensure port 6776 is available on the server
- If needed, change the port in settings:
{
"sfVeritas.localServerPort": 6777
}
Data Storage
The SQLite database will be created at ~/.sf-veritas/telemetry.db on the server.
Troubleshooting
Extension not appearing after installation
- Fully restart code-server (not just browser refresh)
- Check code-server logs for extension loading errors
- Verify the VSIX file was correctly uploaded
Cannot connect instrumented applications
When your application runs on a different machine:
- Configure the application to send telemetry to the code-server host
- Ensure firewall allows connections on port 6776