English
alta dev
Plays the game in demo with this content, in a temporary copy, read only.
Usage
text
alta dev <dir> [--port <n>] [--prepare-only] [--keep]Arguments
| Name | Description | |
|---|---|---|
dir | required | The folder (or file) of content to play with. |
Options
| Name | Type | Default | Description |
|---|---|---|---|
--port | number | Default: a free port | The port of the game server, 1024 to 65535. |
--prepare-only | flag | Stage the game and stop, without starting the server. | |
--keep | flag | Keep the temporary copy when the server stops. |
Exit codes
| Name | Description |
|---|---|
0 | ok |
1 | problems found |
2 | bad usage |
3 | not in this version |
Examples
Play your content in the game
Terminal
sh
alta dev my-packStarts the game server and prints the address to open; stop it with Ctrl+C. The [quickstart](/quickstart) shows it.
Stage the game only (for a test)
Terminal
sh
alta dev my-pack --prepare-onlyOutput
text
staged in <temporary folder>
+ content/quests/dev-quests.json