Skip to content
Snippets Groups Projects
user avatar
AndiMajore authored
Former-commit-id: 33d39f0222ba087347ba9a8f97bb606eb351c631 [formerly dcffa3e23c2b52efecc1a62f84a9196e7244b70e]
Former-commit-id: e9dd8d7283b64d526a514d47337f05dd1523a60f
26dbb805
History

#The new data folder is data_drugstone All the necessary files are there.

python3 manage.py migrate
python3 manage.py createfixtures

python3 manage.py populate_db --delete_model PPI,PDI,Drug,Protein,Tissue,Disorder,PDiAssociations

python3 manage.py populate_db --data_dir . -p protein-file.txt

python3 manage.py populate_db --data_dir . -exp gene_tissue_expression.gct

python3 manage.py populate_db --data_dir . -dr drug-file.txt -pdr drug-protein-interaction.txt

python3 manage.py populate_db --data_dir . -di "" -pdi "" -ddi ""

python3 manage.py populate_db --data_dir . -pp protein_protein_interaction_file.txt

python3 manage.py make_graphs

Docker PROD environment (building is optional)

docker-compose up --build

Docker DEV environment (building is optional)

docker-compose -f docker-compose.yml up -d --build