A convenient VS Code extension for deploying Station extensions quickly and efficiently.
Features
- 🚀 One-click deployment from VS Code
- 🔐 Secure credential management in VS Code settings
- 📦 Multi-language support: Java, Node.js, and Vue
- 🎯 Cross-platform support (Windows, macOS, Linux)
- 📊 Real-time deployment logs in Output panel
- ✅ Automatic version management
Supported Project Types
| Language |
Build Tool |
Deployment Target |
Version Source |
| Java |
Maven |
Docker Registry |
pom.xml |
| Node.js |
npm |
Docker Registry |
package.json |
| Vue |
npm |
Maven Repository |
package.json |
Requirements
Common
For Java Projects
- Maven (mvn command available in PATH)
- Docker (docker command available in PATH)
- Java 11 or later
For Node.js Projects
- Node.js (node command available in PATH)
- npm (npm command available in PATH)
- Docker (docker command available in PATH)
For Vue Projects
- Node.js (node command available in PATH)
- npm (npm command available in PATH)
- Maven (mvn command available in PATH)
Installation
- Install the extension from VS Code Marketplace
- Configure your credentials in Settings
Configuration
- Open VS Code Settings (
Cmd/Ctrl + ,)
- Search for "Station Deploy Tool"
- Configure:
- Username: Your Docker registry username
- Password: Your Docker registry password
Note: Vue projects do not require Docker credentials.
Project Setup
Create a .interchange configuration file in your project root:
Java Project
language=JAVA
application-name=your-app-name
project-id=your-project-id
extension-type=extensions
product=knt
Node.js Project
language=NODE
application-name=your-app-name
project-id=your-project-id
extension-type=extensions
product=tsp
Vue Project
language=VUE
program-uid=your-program-uid
Usage
Ensure your project has:
- A valid version file (
pom.xml for Java, package.json for Node.js/Vue)
- A
.interchange configuration file with required fields
Click the "Deploy" button in the editor title bar (rocket icon)
- Or use Command Palette:
Deploy
Monitor the deployment progress in the Output panel (Station Deploy)
Deployment Process
Java Projects (6 steps)
- Verifying Credentials - Authenticates with Docker registry
- Building Project - Runs
mvn clean package
- Packaging Application - Builds Docker image
- Preparing Deployment - Tags the Docker image
- Deploying to Registry - Pushes image to registry
- Finalizing - Cleans up and logs out
Node.js Projects (7 steps)
- Verifying Credentials - Authenticates with Docker registry
- Installing Dependencies - Runs
npm install
- Building Project - Runs
npm run build
- Packaging Application - Builds Docker image
- Preparing Deployment - Tags the Docker image
- Deploying to Registry - Pushes image to registry
- Finalizing - Cleans up and logs out
Vue Projects (4 steps)
- Installing Dependencies - Runs
npm install
- Building Vue Project - Runs
npm run build
- Packaging Application - Creates dist.zip
- Deploying to Repository - Deploys to Maven repository
Troubleshooting
- Missing required build environment: Ensure required tools (Maven/Node.js/npm/Docker) are installed and available in your system PATH
- Configuration Required: Check that credentials are properly configured in settings
- Version Format Error:
- Java/Node.js: version should follow format
x.x.x or x.x.x-SNAPSHOT
- Vue: version should follow format
x.x.x
Author
Station Digital Media
License
MIT
| |