[docs] "Configuration variables" -> "Deploy destinations"

This commit is contained in:
Resi Respati
2017-11-28 13:39:03 +07:00
parent e0a33f2bad
commit 062b76a351
4 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
# Cookbook
This section a community-maintained list of slightly more advanced tips and tricks to help better improve your Screeps AI development workflow with TypeScript. Feel free to [contribute your own](https://github.com/screepers/screeps-typescript-starter/tree/v3.0/docs)!
This section contains a community-maintained list of slightly more advanced tips and tricks to help better improve your Screeps AI development workflow with TypeScript. Feel free to [contribute your own](https://github.com/screepers/screeps-typescript-starter/tree/v3.0/docs)!

View File

@@ -1,6 +1,6 @@
# Configuration variables
# Deploy destination
The `screeps.json` file is a JSON configuration file separated into multiple environments. We've given you three primary environments by default.
The `screeps.json` file is a JSON configuration file separated into multiple deploy destinations. We've given you three primary destinations by default.
```json
{
@@ -37,4 +37,10 @@ The `screeps.json` file is a JSON configuration file separated into multiple env
}
```
[TODO: running environments]
You can make as many separate destinations as you want. Just make a copy of any config object and perform the necessary changes. Once you're done, use the `--dest` argument on the `rollup` command to specify which environment to upload to.
```bash
rollup -c --dest main
```
Omitting the `--dest` argument will perform a dry run, which can be used for local directories via symlinks.