A Django application for showcasing Zinc Binding Sites.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
core Typo Feb 18, 2019
data
ftests
scripts
.gitignore Add report scripts Dec 19, 2018
.travis.yml
README.md Make README track current version Oct 14, 2018
deploy.py
manage.py Get minimum viable django app working May 17, 2018
requirements-dev.txt Implement SCSS Jun 7, 2018
requirements-live.txt
requirements-test.txt Bump testarsenal version Oct 13, 2018
requirements.txt
upload_data.py

README.md

ZincBind

Build Status Coverage Status

About

ZincBind is a database of Zinc Binding Sites. It was made, and is currently maintained, by Sam Ireland (that's me!) as part of my PhD.

Local Use

To spin up your own local version of ZincBind:

  1. Download this repository using the button above.
  2. Unzip the folder and cd into it.
  3. Install requirements with pip install -r requirements.txt -r requirements-dev.txt -r requirements-test.txt.
  4. Create the database with python manage.py migrate.
  5. Populate the database with python scripts/build_db.py; python scripts/cluster.py.
  6. View local site by running python manage.py runserver and going to http://localhost:8000 in your browser.

Note that ZincBind is a Python 3 application! It does not support Python 2 and if you try to use Python 2 you will have a bad time. In many operating systems the default python command still points to Python 2 for some reason, so you may need to use python3 and pip3 instead.

(Alternatively, and preferably, just use a virtual environment.)