zVSC: Zerops VS Code Extension for Interacting with Zerops
- Deploy Applications: Push your code directly to Zerops services with a single click
- VPN Connection Management: Connect to your Zerops VPN directly from VS Code
- Project Configuration: Initialize and configure Zerops projects and services
- Recipe Templates: Clone and use ready-made project templates
- Documentation Access: Access Zerops documentation directly within VS Code
- Web Interface Integration: Open the Zerops dashboard, project pages, and service details in your browser
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Zerops"
- Click Install
- Reload VS Code when prompted
- Zerops CLI (zcli) - Required for all operations
- WireGuard - Required for VPN connectivity
- Navigate to Settings > Access Token Management in your Zerops account
- Click "Generate New Token"
- Set an appropriate name and click "Generate Token"
- Copy the displayed token (it will be shown only once)
- Open the Command Palette (Ctrl+Shift+P)
- Type "Zerops: Login" and select it
- Paste your access token when prompted
Alternatively, use the Zerops menu in the status bar by clicking the rocket option.
The extension adds several options to your VS Code status bar:
- Zerops: Main menu for all Zerops commands
- zPush: Push your code to Zerops
- zService: Explore service options
- zGUI: Open Zerops dashboard
- zVpn Up: Connect to Zerops VPN
- zVpn Down: Disconnect from Zerops VPN
- Click the "Zerops" option in the status bar
- Select "Push to Zerops"
- Select your target service (or configure one if not set up)
- Click the "Zerops" option
- Select "Explore GUI" and then "Open GUI"
- Click the "Zerops" option
- Select "Clone Recipe"
- Choose from available templates
- Click the "Zerops" option
- Select "Init Configurations"
- Choose "Init zerops.yml" or "Init zerops-project-import.yml"
To configure your project, set up the service and project IDs:
- Click the "Zerops" option
- Select "Settings"
- Choose "Add Service ID" or "Add Project ID"
- Enter the IDs from your Zerops dashboard
If you're having trouble connecting to the VPN:
- Ensure WireGuard is installed and running
- Check that your Project ID is correctly configured
- Try disconnecting and reconnecting
If you're experiencing login issues:
- Verify your access token is valid
- Try logging out and logging back in
- Regenerate a new token if needed
- Documentation: Visit Zerops Documentation
- Community: Join our Discord server for support
- Issues: Report bugs or request features on our GitHub repository
- Contact: Email us at support@zerops.io
This extension is licensed under the MIT License. See the LICENSE file for details.