Installation¶
Prerequisite¶
Prerequisite installation COADD is:
Install conda in Linux by following the steps in [Installing on Linux] (https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html).
Install rdkit pypi overall
Database environment
create conda environment with:
conda create --name <env_name>activate and install the following:
conda install -c anaconda postgresql
conda install -c rdkit rdkit-postgresql
pg_ctl initdb -D <path>/<your cluster name> eg. pg_ctl initdb -D ~/chem_data (meaning create cluster chem_data under user root)
pg_ctl -D <path>/<your cluster name> start
CREATE DATABASE databasename with:
psql databasename create extension if not exists rdkit; create schema <name>
Set up application environment¶
Create another conda environment
Install all the following packages in the conda environment.
conda install -c conda-forge django
prerequistion for python-ldap
pip install python-ldap
pip install django-auth-ldap
pip install rdkit-pypi
pip install git+https://github.com/rdkit/django-rdkit.git
sudo apt-get install postgresql postgresql-contrib sudo apt-get install libpq-dev python3-dev
pip install psycopg2
for chemical drawing install the following: pip install ipython pip install CairoSVG
django-sequences
pip install django-model-utils
pip install django-filter
pip install pdfplumber …