Skip to content

Commit

Permalink
Merge pull request #149 from oof2win2/master
Browse files Browse the repository at this point in the history
  • Loading branch information
oof2win2 authored Aug 10, 2022
2 parents 9837f3f + 971f249 commit 3a844cd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
## Bot Installation

1. Clone the repository and install dependencies with `git clone https://github.com/DistroByte/AwF-Bot && cd AwF-Bot && npm i`
2. Populate your `config.js` file from the example (`config.example.js`)
3. Populate your `servers.js` file from the example (`servers.example.js`)
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.
2. Populate your `config.ts` file from the example (`config.example.ts`)
3. Populate your `servers.ts` file from the example (`servers.example.ts`)
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.
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
6. Set the database up with `npx prisma generate && npx prisma db push`
7. Run with `node .` or using PM2
7. Build the code with `npm run build`
8. Run with `node .` or using PM2

0 comments on commit 3a844cd

Please sign in to comment.