Skip to content
Snippets Groups Projects
Select Git revision
  • production protected
  • development default
2 results

backend

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    AndiMajore authored
    Former-commit-id: fe5e92f6af9526285d1ede77068d0a244438a6fc [formerly 0cb8f81a06d6cba56374dcda063adebccce535a6]
    Former-commit-id: b2b4a13f9c40e10498161fb6bcf9386433432312
    8d5a5d9b
    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