Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

Installing MetaDB Server


For example in the latest Ubuntu, this command will install pre-requisites:

$ sudo apt-get install python-dev python-virtualenv memcached \
    postgresql-9.5 postgresql-client-9.5 postgresql-server-dev-9.5

Web Server

It is recommended, although optional, to first set up a virtual environment and activate it:

$ virtualenv env
$ . ./env/bin/activate

Python dependencies

Then use pip to install the required Python dependencies:

$ pip install -r requirements.txt


Copy to and edit its content to fit your environment.

Creating the database

After you tweak configuration file, database needs to be created:

$ python init_db

Optional: You might want to create a database that will be used by tests:

$ python init_test_db

Starting the server

After all this, you can run the site/server using ./ Use ./ -h to get a list of command-line switches to further suit your local environment (e.g., port, listening address, ...).