Deploy & Manage
espacetech init
Initialize a new project in the current directory. Auto-detects your framework and creates espacetech.json.
espacetech initOutput:
Detected framework: nextjs
Created espacetech.jsonespacetech.json Configuration
{
"name": "my-app",
"framework": "nextjs",
"build_command": "npm run build",
"start_command": "npm start",
"port": 3000
}| Field | Description | Default |
|---|---|---|
name | Project name (used in URL) | Directory name |
framework | Framework type | Auto-detected |
build_command | Build command | Framework default |
start_command | Start command | Framework default |
port | Port your app listens on | 3000 |
Supported Frameworks
| Framework | Auto-detected | Default Build | Default Start |
|---|---|---|---|
| Next.js | next.config.* | npm run build | npm start |
| Express | express in deps | npm run build | node index.js |
| Nuxt | nuxt.config.* | npm run build | npm start |
| Django | manage.py | pip install -r requirements.txt | gunicorn |
| Go | go.mod | go build | ./app |
| Static | index.html | — | Served via nginx |
espacetech deploy
Deploy the current project. Packages source code, uploads it, builds a container, and starts it.
espacetech deployOptions:
# Deploy a specific directory
espacetech deploy --dir ./my-app
# Deploy without build cache
espacetech deploy --no-cacheWhat happens during deploy:
Package
Source code is compressed into a tar.gz archive
Upload
Archive is uploaded to the Espace-Tech API
Build
A Docker container is built using Kaniko (secure, rootless builds)
Deploy
Container is deployed to Kubernetes with zero-downtime rolling update
Route
Traffic is routed to your-project.app.espace-tech.com
espacetech logs
View real-time logs from your running application.
# Last 100 lines (default)
espacetech logs
# Last N lines
espacetech logs --lines 500
# Follow (stream) logs
espacetech logs --followespacetech rollback
Roll back to a previous deployment.
# Roll back to the previous deployment
espacetech rollback
# Roll back to a specific deployment ID
espacetech rollback --deployment abc123espacetech delete
Delete a project and all its resources.
espacetech deleteThis permanently deletes the project, all deployments, and associated resources. This action cannot be undone.