Modified the order of instructions and added instr. for ubuntu 16.04 users
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user