Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (26 sloc) 1.64 KB

Installation

Installation via pip

If pip installed in your system, you can install kvlite via

`pip install kvlite`

For mysql support mysql-python package is required

`pip install mysql-python`

Note! If during mysql-python installation will be raised errors:

MySQL environment

kvlite library support as backend MySQL database. Please check that mysql server is installed and configured.

For Ubuntu OS you need:

$ sudo apt-get install mysql-server

for testing make test-all and make test-all-with-coverage you need create test database

/* create database */
CREATE DATABASE IF NOT EXISTS kvlite_test;
/* create user for kvlite_test */
CREATE USER 'kvlite_test'@'localhost' IDENTIFIED BY 'eixaaghiequ6ZeiBahn0';
/* add 'kvlite_test' user rights for 'kvlite_test' database */
GRANT ALL ON kvlite_test.* TO 'kvlite_test'@'localhost';