Figure out how to setup local dev environment for testing IAbot.
|Open||Cyberpower678||T120433 Migrate dead external links to archives|
|Resolved||Cyberpower678||T140377 Build robust testing framework for InternetArchiveBot (epic)|
|Resolved||bd808||T141799 Create automated install/repeatable dev environment for IABot|
|Resolved||MusikAnimal||T141797 Figure out how to setup local dev environment for testing IAbot|
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
*At least 256 MB of RAM
*Recommend at least 1 GB of storage for the DB
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.
- Install IABot into any directory of your choice.
- 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.
- 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.
- 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.
- Start deadlink.php
There are comments in the code explaining what "Wikipedia DB setup" is for, so I think that will suffice.