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

backend

  • Clone with SSH
  • Clone with HTTPS
  • Hartung, Michael's avatar
    Hartung, Michael authored
    Former-commit-id: ba3b59805d3e94a0958c4decb8f0ee592c6f775a [formerly d66c7f4cb7a59a739bee6052262c1a7c396e021b]
    Former-commit-id: 6522d1895fc5bc6e90eac65d78aedc4d06706582
    9e73b29e
    History

    #The new data folder is data-NetExpander 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 -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 environemt (building is optional)

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