Zuplo CLI
Source Commands
Code
The source commands help you manage and migrate your Zuplo project source code and configuration files.
Dev Portal Migration
Code
This command automates the migration process from the legacy Developer Portal to the new Zudoku-powered Developer Portal.
It handles the creation of necessary files, directory structure, and configuration migration.
What it does:
- Creates the required directory structure (
docs/pages
,docs/public
) - Generates
docs/package.json
,docs/tsconfig.json
, anddocs/zudoku.config.ts
files - Migrates configuration from
config/dev-portal.json
anddocs/sidebar.json
to the new format - Moves existing markdown files to the correct location
- Updates the root
package.json
with workspace configuration
Usage Examples:
Basic migration:
Code
Migrate from a specific directory:
Code
Force overwrite existing files:
Code
For a complete step-by-step migration guide including manual steps and post-migration tasks, see the Dev Portal Migration Guide.
Requirements:
- Must be run from within a Zuplo project directory or specify
--dir
- Requires existing
config/dev-portal.json
file - Node.js and npm must be installed
After Migration:
- Run
npm install
to install dependencies - Test locally with
npm run docs
- Delete legacy files manually (recommended, to avoid future confusion)
- Deploy your changes by running
zuplo deploy
Last modified on