A minimalist example of using the screeps-remote development tool for Screeps.
- This example looks to the
SCREEPS_USERNAME
andSCREEPS_PASSWORD
environment variables for authentication details to avoid a situation where you commit secrets into git. - To aid in the above, we use the dotenv library to automatically load the contents of the
.env
file (not present by default) in this folder into your environment variables at run-time. - You must create the
.env
file yourself. An example is provided below. - The
.gitignore
has been configured to ensure that.env
does not get committed to git.
SCREEPS_USERNAME=your_username_here
SCREEPS_PASSWORD=your_password_here