Uploading
Once you're happy with your app and want to use them in your actual world, you can upload them to Hyperfy with a single command.
Checklist
- Test your app to make sure it runs well on mobile, desktop and VR devices.
- Make sure your
app.json
file has the correct metadata that you want. - Ensure any files you don't need uploaded are in your
src
folder, not yourassets
folder.
Upload to Hyperfy
Ensure you are connected to Hyperfy:
npm run connect
Now build and upload each app using the ID you specified in each app.json
file:
npm run upload <id>
Once complete you can go to your live world, hit Tab
to open the editor, click Add
and switch to the Uploads
tab where your uploaded apps will be shown.