Skip to content
Snippets Groups Projects
Select Git revision
  • 395b8f5b9a22df9cdc7a05f35263912d62c2a313
  • development default
  • production protected
3 results

backend

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    AndiMajore authored
    Former-commit-id: 6291e013f30c528447945bbf50fc4c5f0b7f85e5 [formerly 0af3a970d0be261049218b94402adb31e93b3cd4]
    Former-commit-id: 4a0517035fad4b5837a18e3c48081b01785c5cff
    395b8f5b
    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

    Data folder

    Static datasets are mounted from a directory now, instead of fusing them into the image. Download them from the following link and put them into the data folder that is mounted by the docker-compose.yml: https://wolken.zbh.uni-hamburg.de/index.php/s/gywnL3HP26CWrgA