2017-11-24 14:07:30 +00:00
|
|
|
# spatial
|
|
|
|
|
|
|
|
> A set of commands for managing and developing SpatialOS projects.
|
2022-07-27 12:38:46 +01:00
|
|
|
> More information: <https://ims.improbable.io/products/spatialos>.
|
2017-11-24 14:07:30 +00:00
|
|
|
|
2017-11-26 10:21:02 +00:00
|
|
|
- Run this when you use a project for the first time:
|
|
|
|
|
|
|
|
`spatial worker build`
|
|
|
|
|
2017-11-27 20:30:15 +00:00
|
|
|
- Build workers for local deployment on Unity on macOS:
|
2017-11-24 14:07:30 +00:00
|
|
|
|
|
|
|
`spatial worker build --target=development --target=Osx`
|
|
|
|
|
2017-11-26 10:21:02 +00:00
|
|
|
- Build workers for local deployment on Unreal on Windows:
|
2017-11-24 14:07:30 +00:00
|
|
|
|
|
|
|
`spatial worker build --target=local --target=Windows`
|
|
|
|
|
|
|
|
- Deploy locally:
|
|
|
|
|
|
|
|
`spatial local launch {{launch_config}} --snapshot={{snapshot_file}}`
|
|
|
|
|
|
|
|
- Launch a local worker to connect to your local deployment:
|
|
|
|
|
2017-11-26 10:21:02 +00:00
|
|
|
`spatial local worker launch {{worker_type}} {{launch_config}}`
|
2017-11-24 14:07:30 +00:00
|
|
|
|
|
|
|
- Upload an assembly to use for cloud deployments:
|
|
|
|
|
2017-11-26 10:21:02 +00:00
|
|
|
`spatial cloud upload {{assembly_name}}`
|
2017-11-24 14:07:30 +00:00
|
|
|
|
|
|
|
- Launch a cloud deployment:
|
|
|
|
|
|
|
|
`spatial cloud launch {{assembly_name}} {{launch_config}} {{deployment_name}}`
|
2017-11-26 10:21:02 +00:00
|
|
|
|
|
|
|
- Clean worker directories:
|
|
|
|
|
|
|
|
`spatial worker clean`
|