From 3610a3204fdad2f6e3f5357bc6fe3d7102fe38a3 Mon Sep 17 00:00:00 2001 From: Andrea Della Corte Date: Fri, 24 Nov 2017 14:07:30 +0000 Subject: [PATCH 1/3] spatial: add page --- pages/common/spatial.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/spatial.md diff --git a/pages/common/spatial.md b/pages/common/spatial.md new file mode 100644 index 0000000000..49395a5db4 --- /dev/null +++ b/pages/common/spatial.md @@ -0,0 +1,27 @@ +# spatial + +> A set of commands for managing and developing SpatialOS projects. + +- Build workers for local deployment on Unity on Windows: + +`spatial worker build --target=development --target=Osx` + +- Build workers for local deployment on Unreal: + +`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 UnityClient default` + +- 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}}` From 5902534b0cccaa48c5d1a8dd6e42e1d7f16ea815 Mon Sep 17 00:00:00 2001 From: Andrea Date: Sun, 26 Nov 2017 10:21:02 +0000 Subject: [PATCH 2/3] spatial: add clean and build, address review comments --- pages/common/spatial.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pages/common/spatial.md b/pages/common/spatial.md index 49395a5db4..ca24b659c7 100644 --- a/pages/common/spatial.md +++ b/pages/common/spatial.md @@ -2,11 +2,15 @@ > A set of commands for managing and developing SpatialOS projects. -- Build workers for local deployment on Unity on Windows: +- Run this when you use a project for the first time: + +`spatial worker build` + +- Build workers for local deployment on Unity on on Osx: `spatial worker build --target=development --target=Osx` -- Build workers for local deployment on Unreal: +- Build workers for local deployment on Unreal on Windows: `spatial worker build --target=local --target=Windows` @@ -16,12 +20,16 @@ - Launch a local worker to connect to your local deployment: -`spatial local worker launch UnityClient default` +`spatial local worker launch {{worker_type}} {{launch_config}}` - Upload an assembly to use for cloud deployments: -`spatial cloud upload {{assembly_name}}>` +`spatial cloud upload {{assembly_name}}` - Launch a cloud deployment: `spatial cloud launch {{assembly_name}} {{launch_config}} {{deployment_name}}` + +- Clean worker directories: + +`spatial worker clean` From e953129676feb85c66907c12f31ecc3447328cb6 Mon Sep 17 00:00:00 2001 From: Andrea Date: Mon, 27 Nov 2017 20:30:15 +0000 Subject: [PATCH 3/3] spatial: fix macOS command --- pages/common/spatial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/spatial.md b/pages/common/spatial.md index ca24b659c7..f6b525b9eb 100644 --- a/pages/common/spatial.md +++ b/pages/common/spatial.md @@ -6,7 +6,7 @@ `spatial worker build` -- Build workers for local deployment on Unity on on Osx: +- Build workers for local deployment on Unity on macOS: `spatial worker build --target=development --target=Osx`