This repository was archived by the owner on Nov 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Installation for local development
Anders Markvardsen edited this page May 11, 2018
·
30 revisions
This a guide on how to install the Autoreduction service for local development.
If using vanilla Python 2.7 from https://www.python.org/downloads/windows/
- Download and install Python 2.7 (32 bit) from: https://www.python.org/downloads/windows/
- Add c:\Python27 to the PATH environmental variable.
- Download and install MySqlServer version 5.6: http://dev.mysql.com/downloads/windows/installer/5.6.html (this specific version is needed, because of user creation)
- Download and install MySQL-Python from: http://www.lfd.uci.edu/~gohlke/pythonlibs/4y6heurj/MySQL-python-1.2.5.win-amd64-py2.7.exe
- run pip install requirements.txt
Copy across the files for the WebApp and then edit the settings.py and apache/apache_django_wsgi such that they have the correct configuration. If you are using the UOWS login page then you will probably need to add a certficate so that Apache and Django trust the site. To do this, get the certificate from here and place it on the WebApp machine. Then, add its directory to the settings.py file. This will ensure that the connection is trusted.