Setup For Deployment
vifu setup prepares an existing game project for Vifu deploy. You can run it explicitly, or let vifu deploy start the same setup flow when configuration is missing.
Run Setup
bash
cd path/to/your-game
vifu 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
vifu deploy --yesUse strict mode when configuration must already exist:
bash
vifu deploy --no-setupCommon Project Shapes
Most projects only need a name:
json
{
"name": "my-game"
}Override build settings only when Vifu cannot infer them from the project:
json
{
"name": "my-game",
"build": {
"command": "npm run build",
"output": "dist"
}
}Vifu AI is available through the SDK by default. Do not add a manifest entry for normal vifu.ai.generateText(...) calls. See the manifest reference for advanced overrides and feature disable switches.
Next Step
After setup, deploy the project:
bash
vifu deploySee Deploy to Vifu for the full deploy flow.