Skip to content

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 setup

The 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 --yes

Use strict mode when configuration must already exist:

bash
vf deploy --no-setup

Common 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 deploy

See Deploy to VifuHub for the full deploy flow.