Skip to content

Commit

Permalink
Merge pull request #61 from KeithKelleher/master
Browse files Browse the repository at this point in the history
February release updates
  • Loading branch information
tsheils authored Feb 28, 2021
2 parents 6df84d6 + d1599c2 commit 081d6d3
Show file tree
Hide file tree
Showing 39 changed files with 818 additions and 2,291 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
Pharos graphql server
=====================

To run
###To run

Run `npm install` to get all dependencies, then

```
npm start
```

A public instance of this api is available [here](https://pharos-api.ncats.io/graphql).
A public instance of this DEV version of the api is available [here](https://ncatsidg-dev.appspot.com/graphql).



### To deploy on gcloud
* go to project on g cloud
* "git clone https://github.com/ncats/pharos-graphql-server"
* "git pull" if it's already there
* cd to dir
* export PORT=8080 && npm install
* npm start -- preview
* gcloud app create -- first time only
* gcloud app deploy

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "src/index.js",
"scripts": {
"test" : "node src/index.js & jest",
"test" : "node src/index.js & (sleep 10 && jest)",
"start" : "nodemon src/index.js",
"start:ci" : "tsc && node src/index.js",
"gcp-build" : "tsc -p ."
Expand Down
2 changes: 1 addition & 1 deletion pharos_database_transforms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TCRD Update Instructions :smiley_cat:
terminal > ssh ifxdev.ncats.nih.gov
<enter password>
[ifxdev] $ curl -o tcrd6.6.0.sql.gz http://juniper.health.unm.edu/tcrd/download/TCRDv6.6.0.sql.gz
(about 12 minutes)
(about 12 - 18 minutes)
[ifxdev] $ gunzip tcrd6.6.0.sql.gz
(about 2 minutes)
```
Expand Down
269 changes: 0 additions & 269 deletions pharos_database_transforms/dataSourceMappings.py

This file was deleted.

57 changes: 0 additions & 57 deletions pharos_database_transforms/facets.csv

This file was deleted.

61 changes: 0 additions & 61 deletions pharos_database_transforms/pharos-create-facet-table.py

This file was deleted.

54 changes: 0 additions & 54 deletions pharos_database_transforms/tcrd-add-pharos-name.py

This file was deleted.

92 changes: 0 additions & 92 deletions pharos_database_transforms/tcrd-create-datasource-table.py

This file was deleted.

20 changes: 0 additions & 20 deletions pharos_database_transforms/tcrd-create-datasource-table.sql

This file was deleted.

Loading

0 comments on commit 081d6d3

Please sign in to comment.