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

updated import issue für disgenet

Former-commit-id: b7ca7e434ed5bdd3658075cc97f6a8953ef43541 [formerly d4e7473fa0981198b87c734c8c716671a5d116de]
Former-commit-id: c7c2df5c0b743f67761ad1738329ddbc5bb60ffd
parent f71868ce
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,6 @@ COPY ./import-data.sh /import.sh ...@@ -27,6 +27,6 @@ COPY ./import-data.sh /import.sh
COPY . /usr/src/netex/ COPY . /usr/src/netex/
EXPOSE 8000 #EXPOSE 8000
ENTRYPOINT ["sh", "/entrypoint.sh"] ENTRYPOINT ["sh", "/entrypoint.sh"]
...@@ -6,7 +6,9 @@ python3 manage.py createfixtures ...@@ -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 --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 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 ...@@ -22,5 +24,5 @@ python3 manage.py make_graphs
``docker-compose up --build`` ``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`` ``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 #!/bin/bash
python3 manage.py populate_db --delete_model PPI,PDI,Drug,Protein,Tissue python3 manage.py populate_db --delete_model PPI,PDI,Drug,Protein,Tissue,Disorder,PDiAssociations
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 . -p protein-file.txt
python3 manage.py populate_db --data_dir . --drug_file drug-file.txt python3 manage.py populate_db --data_dir . -exp gene_tissue_expression.gct
python3 manage.py populate_db -pp .
python3 manage.py populate_db -pdr . python3 manage.py populate_db --data_dir . -dr drug-file.txt
\ No newline at end of file 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.
Please register or to comment