My codebase for the game Screeps.
- Install Yarn package manager.
- In the project's directory, run the command
yarn
to install dependencies. - Edit
'.example.env.main'
and replaceYOUR_TOKEN
with your own Screeps API token.- You can generate a Screeps API token here: https://screeps.com/a/#!/account/auth-tokens
- Rename the file
'.example.env.main'
to'.env.main'
. This step is important or your access token could be leaked to git. - In the project's directory, run the command
yarn push
.
The code in src/
will be compiled and start running on Screeps' official servers.