A tool to search through book data in Wikidata and Wikisource.
See it in action at http://ws-search.toolforge.org/
- Clone from git:
git clone https://github.com/wikisource/ws-search.git
- Update dependencies:
composer update
- Edit the
.env.local
configuration file - Run the upgrade script:
./bin/console upgrade
- Update code:
git pull origin master
- Update dependencies:
composer update
- Run the upgrade script:
./bin/console upgrade
- Populate the list of Wikisources:
./bin/console scrape langs
- Populate with all existing data for a given Wikisource:
./bin/console scrape --lang=en
- Keep up to date with recent changes on that Wikisource:
./bin/console rc --lang=en
To automatically keep up to date, run the first two scrape commands above
and then add the RecentChanges command as a cronjob:
./bin/console rc
Development is managed on GitHub at https://github.com/wikisource/ws-search