Skip to content
Snippets Groups Projects
Select Git revision
  • 9ef868f2b58ad489b5c82475f5d21359a50e9d94
  • 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.

  • Maier, Andreas's avatar
    Maier, Andreas authored
    Production
    
    See merge request !2
    
    Former-commit-id: 1a43e8b080b3c3b49c4aafcc8294fe2ef3c160de [formerly 7eafafd10ba22680e8eba7a42541488d8183d82b]
    Former-commit-id: 04bacbb03ea999378abcd1888d5653b8b6d9305d
    9ef868f2
    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