Skip to content

Commit 3a844cd

Browse files
authored
Merge pull request #149 from oof2win2/master
2 parents 9837f3f + 971f249 commit 3a844cd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

INSTALLATION.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@
2929
## Bot Installation
3030

3131
1. Clone the repository and install dependencies with `git clone https://github.com/DistroByte/AwF-Bot && cd AwF-Bot && npm i`
32-
2. Populate your `config.js` file from the example (`config.example.js`)
33-
3. Populate your `servers.js` file from the example (`servers.example.js`)
34-
4. If files like `script-output/ext/awflogging.out` don't exist in your Factorio server folders, make sure they exist. All of the file names are in [config.example.js](config.example.js#L38). They can be blank.
32+
2. Populate your `config.ts` file from the example (`config.example.ts`)
33+
3. Populate your `servers.ts` file from the example (`servers.example.ts`)
34+
4. If files like `script-output/ext/awflogging.out` don't exist in your Factorio server folders, make sure they exist. All of the file names are in [config.example.js](config.example.ts#L40). They can be blank.
3535
5. Optimally, install the [Discord integration mod](https://mods.factorio.com/mod/Factorio-Discord-BotIntegration/discussion/60e4b5bf4b7e496a4faed8d1) for an easy setup, or for more features, install the [scenario for Factorio](https://github.com/explosivegaming/scenario/) onto each server as a scenario, as it has more features
3636
6. Set the database up with `npx prisma generate && npx prisma db push`
37-
7. Run with `node .` or using PM2
37+
7. Build the code with `npm run build`
38+
8. Run with `node .` or using PM2

0 commit comments

Comments
 (0)