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';