From 29c7de153ef24715d43eb1ddc3b440461230048e Mon Sep 17 00:00:00 2001
From: Ishan Patel <ishan747@uab.edu>
Date: Fri, 29 Mar 2019 09:17:03 -0500
Subject: [PATCH] Update README.md

---
 README.md | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 2c01509..55f4bdb 100644
--- a/README.md
+++ b/README.md
@@ -90,7 +90,17 @@ $ flask run
 
 -----
 ### Known Problems
-1. flask development mode WARNING
+1. Error for installing mysqlclient and mysql
+
+    **Solution**
+    Add these commands within the enviorment
+    ```shell
+    $ env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip install mysqlclient
+    $ env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip install mysql
+    ```
+
+
+2. flask development mode WARNING
 
 	```shell
 	$ flask run
@@ -108,7 +118,7 @@ $ flask run
 	$ export FLASK_ENV=development
 	```
 
-2. ValueError when click on Assign in employees admin page
+3. ValueError when click on Assign in employees admin page
 
 	```shell
 	file "APP_ROOT/venv/lib/python2.7/site-packages/wtforms/ext/sqlalchemy/fields.py", line 189, in get_pk_from_identity
@@ -130,7 +140,7 @@ $ flask run
 	190 	return ':'.join(text_type(x) for x in key)
 	```
 
-3. When use SQLite as database
+4. When use SQLite as database
 
 	```shell
 	OperationalError: (sqlite3.OperationalError) no such table
@@ -152,7 +162,7 @@ $ flask run
 	SQLALCHEMY_DATABASE_URI='sqlite:////tmp/app.db'
 	```
 
-4. **FSADeprecationWarning** while accessing database using SQLAlchemy
+5. **FSADeprecationWarning** while accessing database using SQLAlchemy
 
 	```shell
 	APP_ROOT/venv/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py:794: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS
-- 
GitLab