forked from singnet/das-poc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andre Senna
committed
Jul 11, 2022
1 parent
22fd034
commit e92b5b4
Showing
18 changed files
with
5,520,953 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,5 +131,3 @@ dmypy.json | |
# IDEs | ||
.idea/ | ||
.vscode/ | ||
|
||
**/*.metta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
unset DAS_MONGODB_HOSTNAME | ||
unset DAS_COUCHBASE_HOSTNAME | ||
cp bio-index.txt /tmp | ||
docker stop `docker ps | grep 'das_app\|das_couchbase\|das_mongo' | cut -d' ' -f1` >& /dev/null | ||
docker rm `docker ps -a | grep 'das_app\|das_couchbase\|das_mongo' | cut -d' ' -f1` >& /dev/null | ||
docker volume rm das_couchbasedata >& /dev/null | ||
docker volume rm das_mongodbdata >& /dev/null | ||
docker-compose up -d | ||
sleep 10 | ||
./scripts/couchbase_setup.sh | ||
./bio-mongo-load | ||
sleep 60 | ||
docker-compose exec app python das/das_generate_file.py -d BIO --file-path /tmp/bio_all_pairs.txt --index-config /tmp/bio-index.txt | ||
sleep 10 | ||
docker-compose exec app python das/das_upload_to_couch_from_file.py --file-path /tmp/bio_all_pairs.txt | ||
sleep 10 | ||
docker-compose exec couchbase cbq --user dbadmin --password dassecret --script "CREATE PRIMARY INDEX ON default:das._default.Names" http://localhost:8091 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Context 3 1 2 3 | ||
Member 3 1 2 3 | ||
Evaluation 3 1 2 3 | ||
Inheritance 3 1 2 3 | ||
List 3 1 2 3 |
Oops, something went wrong.