mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-29 17:15:28 +02:00
spatial: add page (#1652)
This commit is contained in:
commit
81eec1cc6e
1 changed files with 35 additions and 0 deletions
35
pages/common/spatial.md
Normal file
35
pages/common/spatial.md
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# spatial
|
||||||
|
|
||||||
|
> A set of commands for managing and developing SpatialOS projects.
|
||||||
|
|
||||||
|
- Run this when you use a project for the first time:
|
||||||
|
|
||||||
|
`spatial worker build`
|
||||||
|
|
||||||
|
- Build workers for local deployment on Unity on macOS:
|
||||||
|
|
||||||
|
`spatial worker build --target=development --target=Osx`
|
||||||
|
|
||||||
|
- Build workers for local deployment on Unreal on Windows:
|
||||||
|
|
||||||
|
`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:
|
||||||
|
|
||||||
|
`spatial local worker launch {{worker_type}} {{launch_config}}`
|
||||||
|
|
||||||
|
- Upload an assembly to use for cloud deployments:
|
||||||
|
|
||||||
|
`spatial cloud upload {{assembly_name}}`
|
||||||
|
|
||||||
|
- Launch a cloud deployment:
|
||||||
|
|
||||||
|
`spatial cloud launch {{assembly_name}} {{launch_config}} {{deployment_name}}`
|
||||||
|
|
||||||
|
- Clean worker directories:
|
||||||
|
|
||||||
|
`spatial worker clean`
|
Loading…
Add table
Reference in a new issue