[docs] fixing headings on 'Deploying' page
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Deploying
|
# Deploying
|
||||||
|
|
||||||
## Building Configuration Files
|
## Building Your Configuration File
|
||||||
|
|
||||||
The starter kit builds your code using `rollup`, which uses a `screeps.json` file as its configuration file. A sample config file is provided within the project, to use it, simply make a copy and rename it to `screeps.json`.
|
The starter kit builds your code using `rollup`, which uses a `screeps.json` file as its configuration file. A sample config file is provided within the project, to use it, simply make a copy and rename it to `screeps.json`.
|
||||||
|
|
||||||
@@ -49,16 +49,22 @@ The `screeps.json` file is a JSON configuration file that can be separated into
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[/TODO: move to 'in-depth']
|
||||||
|
|
||||||
We're going to focus on the `main` environment as a starter. Fill in your Screeps credentials accordingly, along with your target branch.
|
We're going to focus on the `main` environment as a starter. Fill in your Screeps credentials accordingly, along with your target branch.
|
||||||
|
|
||||||
> **Note:** You don't have to manually create the branch in your Screeps client if it doesn't exist yet. `rollup` will do it for you.
|
> **Note:** You don't have to manually create the branch in your Screeps client if it doesn't exist yet. `rollup` will do it for you.
|
||||||
|
|
||||||
|
## Running Your First Deploy
|
||||||
|
|
||||||
Once you're done, run the following command:
|
Once you're done, run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run push-main
|
npm run push-main
|
||||||
```
|
```
|
||||||
|
|
||||||
Now go to your Screeps client and make sure your code is deployed properly.
|
You're done! Now go to your Screeps client and make sure your code is deployed properly.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Ready for something extra? Read on.
|
||||||
|
|||||||
Reference in New Issue
Block a user