Skip to content
Snippets Groups Projects
Commit 38354021 authored by AndiMajore's avatar AndiMajore
Browse files

updated import issue für disgenet

Former-commit-id: 26d061cc
parent 7fe56bd6
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,6 @@ COPY ./import-data.sh /import.sh
COPY . /usr/src/netex/
EXPOSE 8000
#EXPOSE 8000
ENTRYPOINT ["sh", "/entrypoint.sh"]
......@@ -6,7 +6,9 @@ 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 . -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
......@@ -22,5 +24,5 @@ python3 manage.py make_graphs
``docker-compose up --build``
### Docker DEV environemt (building is optional)
### Docker DEV environment (building is optional)
``docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build``
deploy_prod.sh 100644 → 100755
File mode changed from 100644 to 100755
#!/bin/bash
python3 manage.py populate_db --delete_model PPI,PDI,Drug,Protein,Tissue
python3 manage.py populate_db -p .
python3 manage.py populate_db --data_dir . --exp_file gene_tissue_expression.gct
python3 manage.py populate_db --data_dir . --drug_file drug-file.txt
python3 manage.py populate_db -pp .
python3 manage.py populate_db -pdr .
\ No newline at end of file
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
python3 manage.py populate_db --data_dir . -pdr drug-protein-interaction.txt
python3 manage.py populate_db -di ""
python3 manage.py populate_db --data_dir . -pdi "" -ddi ""
python3 manage.py populate_db -pp protein_protein_interaction_file.txt
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment