{"_id":"573ed4bea233380e005db151","category":{"_id":"573ed4bea233380e005db14f","__v":0,"version":"573ed4bea233380e005db14d","project":"56b86cc286d2b0190070bcda","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-08T11:20:51.134Z","from_sync":false,"order":1,"slug":"tasks","title":"Tasks"},"project":"56b86cc286d2b0190070bcda","version":{"_id":"573ed4bea233380e005db14d","__v":2,"project":"56b86cc286d2b0190070bcda","createdAt":"2016-05-20T09:11:26.847Z","releaseDate":"2016-05-20T09:11:26.847Z","categories":["573ed4bea233380e005db14e","573ed4bea233380e005db14f","573ed4bea233380e005db150","578bcf36bb7d810e00e01c05"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"master","version_clean":"0.3.0-0.4","version":"0.3-0.4"},"__v":0,"user":"56b86c990094520d006b3c33","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-08T11:21:42.629Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"Creates a Workspace instance and creates the workspace directory structure on a host.\n\n## Configuration options\n\n| Name | Type | Default value | Description |\n|------|------|---------------|-------------|\n| releasesDirectory | string | releases/ | The directory where all the releases are installed. |\n| dataDirectory | string | data/ | The directory for storing user data. |\n| cacheDirectory | string | cache/ | The directory for storing cache files. |\n| otherDirectories | string[] |  | Array of additional directories to be created. |\n\n## Event flow\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/AENJQE79QKfD9S7LkEQn_CreateWorkspaceTask.png\",\n        \"CreateWorkspaceTask.png\",\n        \"883\",\n        \"923\",\n        \"#d0d0d0\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"createworkspacetask","type":"basic","title":"CreateWorkspaceTask"}

CreateWorkspaceTask


Creates a Workspace instance and creates the workspace directory structure on a host. ## Configuration options | Name | Type | Default value | Description | |------|------|---------------|-------------| | releasesDirectory | string | releases/ | The directory where all the releases are installed. | | dataDirectory | string | data/ | The directory for storing user data. | | cacheDirectory | string | cache/ | The directory for storing cache files. | | otherDirectories | string[] | | Array of additional directories to be created. | ## Event flow [block:image] { "images": [ { "image": [ "https://files.readme.io/AENJQE79QKfD9S7LkEQn_CreateWorkspaceTask.png", "CreateWorkspaceTask.png", "883", "923", "#d0d0d0", "" ] } ] } [/block]