diff --git a/readme.md b/readme.md index b5abfbe9e5e9ece31f18a6bffbcd00737a7cc584..b9f0e121aa795f926113c10fa5127e372b21a33b 100644 --- a/readme.md +++ b/readme.md @@ -27,6 +27,16 @@ - In order to run development server, run: `devel@host ~/home/smash/scheduling-system/smash $ ./manage.py runserver` and go to `127.0.0.1:8000` in browser - For reference of HTML tempalte, see [https://almsaeedstudio.com/themes/AdminLTE/pages/widgets.html#](https://almsaeedstudio.com/themes/AdminLTE/pages/widgets.html#) +### Mac Developers + +In case of problems with the openssl version installed on the system: + +``` +export PYCURL_SSL_LIBRARY=openssl +pip install pycurl --global-option=build_ext --global-option="-I/usr/local/Cellar/openssl/1.0.2k/include" --global-option="-L/usr/local/Cellar/openssl/1.0.2k/lib" --upgrade +pip install psycopg2 --global-option=build_ext --global-option="-I/usr/local/Cellar/openssl/1.0.2k/include" --global-option="-L/usr/local/Cellar/openssl/1.0.2k/lib" --upgrade +``` + ## Production deployment - git pull and other project installation should be performed in a dir where this django app should be installed, in this tutorial it's /var/www/scheduling-system/ - install nginx: `apt-get install nginx`