Setup For Deployment
vf setup prepares an existing game project for deployment. You can run it explicitly, or let vf deploy start the same setup flow when configuration is missing.
Run Setup
bash
cd path/to/your-game
vf setupThe CLI detects the project and asks for:
- game name
- detected build command
- detected build output directory
- optional overrides only when detection is wrong
For CI or scripts, accept detected defaults without prompts:
bash
vf deploy --yesUse strict mode when configuration must already exist:
bash
vf deploy --no-setupCommon Project Shapes
Most projects only need a name:
json
{
"name": "my-game"
}Override build settings only when the VifuHub CLI cannot infer them from the project:
json
{
"name": "my-game",
"build": {
"command": "npm run build",
"output": "dist"
}
}Vifu AI is available through the VifuHub SDK by default. Do not add a manifest entry for normal hub.ai.generateText(...) calls. See the manifest reference for advanced overrides and feature disable switches.
Next Step
After setup, deploy the project:
bash
vf deploySee Deploy to VifuHub for the full deploy flow.
