From 6aa8e12fb24bb5f291a2b7cc6a5008ba2fc49abd Mon Sep 17 00:00:00 2001 From: henu Date: Sat, 15 Oct 2016 23:51:01 +0300 Subject: [PATCH] Modified the order of instructions and added instr. for ubuntu 16.04 users --- readme.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index a61638c..338f7a5 100644 --- a/readme.md +++ b/readme.md @@ -2,6 +2,12 @@ ##Installation +### Install Mariadb and create necessary tables + +`sudo apt-get install mariadb-client` +`sudo apt-get install mariadb-server` +`sudo apt-get install mariadb-client` + ### Create virtualenvironment for python virtualenv -p python3 virtualenv.sikweb @@ -24,10 +30,16 @@ cd url_to_repo `pip install -r requirements.txt` +### Ubuntu 16.04 users might need these to get rid of errors (mysql_config error for example) -### Install Mariadb and create necessary tables +`sudo ln -s /usr/bin/mariadb_config /usr/bin/mysql_config` + +`sudo apt-get install libffi6 && sudo apt-get install libffi-dev` + +`sudo apt-get install libssl-dev` + +`pip install pycrypto` -`sudo apt-get install mariadb` ```SQL CREATE USER 'sik'@'localhost' IDENTIFIED BY 'jokutmpassu';