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

backend

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    AndiMajore authored
    Former-commit-id: 1ff1cb4ea9b9afcaf441b76189d4f9ef2a8f03fb [formerly 807af46d6d940333fa393d19ae660ae318d1b560]
    Former-commit-id: b0730789b8f14eb1f5fe77079df4b7538f590824
    0858f0f4
    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