1. Installation¶
1.1. Prerequisites¶
- Apache
- MySQL
- Python
- Pip
1.2. Install the latest revision from GitHub¶
Run the following command to install the latest version from GitHub:
pip install git+https://github.com/KarrLab/test_history_server.git#egg=test_history_server
1.3. Configure the package¶
Create a MySQL database
Edit the site and database configuration in /path/to/web-server/test_history_server/test_history_server/site/settings.py
Setup the database:
cd /path/to/web-server/test_history_server/test_history_server/site python manage.py makemigrations core python manage.py migrate
Edit the server configuration in /path/to/web-server/test_history_server/test_history_server/site/wsgi.py