Commons:Monuments database/Setup

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

Prerequisites edit

A server with a LAMP stack

Python2Python-mysql package

Accounts edit

  • 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 login edit

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

Pywikipedia edit

Erfgoedbot edit

Setup mysql tables edit

  • Check out api
  • Setup mysql tables
  • Setup api
  • Setup other tools


Monuments database
ErfgoedBot