Open main menu

This pages describes how to setup your own instance of the monuments database.

PrerequisitesEdit

A server with a LAMP stack

Python2Python-mysql package

AccountsEdit

  • Create a normal useraccount. This will later be used to run the bot and/or api under
  • Create a mysql account and give it a database we can put the data in.
  • Create a bot account here on Commons/Wikipedia

Basic loginEdit

  • Login with the account
  • Setup a .my.cnf in the homedir:
[client]
user = "<username>"
password = "<password>"
host= "<hostname>"
  • chmod 700 .mycnf

PywikipediaEdit

ErfgoedbotEdit

Setup mysql tablesEdit

  • Check out api
  • Setup mysql tables
  • Setup api
  • Setup other tools
Monuments database
ErfgoedBot