Figure out how to setup local dev environment for testing IAbot
Closed, ResolvedPublic3 Story Points

Description

Figure out how to setup local dev environment for testing IAbot.

DannyH created this task.Aug 1 2016, 6:05 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 1 2016, 6:05 PM
DannyH set the point value for this task to 3.Aug 1 2016, 6:52 PM
Cyberpower678 added a subscriber: Cyberpower678.EditedAug 1 2016, 7:31 PM

To run IABot, you need the following setup:
*PHP 5.5 or later, with curl and mysqli support
*MySQL DB that allows Zero dates, the IABot can have full access to
*An outgoing internet connection (obviously)
*A wiki account with an owners-only consumer setup

System requirements:
*Any CPU
*At least 256 MB of RAM
*Recommend at least 1 GB of storage for the DB

Installation:
If you want the last known stable with known bugs, checkout the master brach. If you want the experimental betas and alphas, checkout the test branch.

  1. Install IABot into any directory of your choice.
  2. In that directory create a file and name it config.local.inc.php, and copy the blank template from config.inc.php. Do not copy the constant definitions.
  3. Configure the bot on the config page. Make sure to point the memory variable to a folder IABot has full access to. The path given assumes the default starting path in the root directory of IABot. Any path can be given.
  4. Create a subpage for the automated account being used called Dead-links with all of the configuration variables as necessary. Copying the existing page might be the easiest.
  5. Start deadlink.php

@kaldari updates at https://github.com/wikimedia/Cyberbot_II/commit/89a07caa943789a8ebf6479295d3d9403bb6d8ff

There are comments in the code explaining what "Wikipedia DB setup" is for, so I think that will suffice.

kaldari closed this task as "Resolved".