- Shell 66.9%
- JavaScript 33.1%
| .github | ||
| config/nginx | ||
| cypress | ||
| data | ||
| docs | ||
| scripts | ||
| secrets | ||
| vocab | ||
| .autorc | ||
| .gitignore | ||
| CHANGELOG.md | ||
| cypress.config.js | ||
| docker-compose.yml | ||
| inm7.env | ||
| LICENSE | ||
| local_nb_nodes.json | ||
| local_nb_nodes.template.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| template.env | ||
How to use
For detailed instructions on deploying Neurobagel for your use case, see the official Neurobagel documentation on setting up a local knowledge graph (node) and configuration options.
Using the full-stack Docker Compose file
-
Clone the repository
git clone https://github.com/neurobagel/recipes.git -
Copy and rename the required template configuration files
cp template.env .env # if also setting up local federation cp local_nb_nodes.template.json local_nb_nodes.jsonEnsure to edit the configuration file(s) according to your deployment. We strongly recommend changing the default passwords for your GraphDB instance, which are set using
NB_GRAPH_ADMIN_PASSWORD.txtandNB_GRAPH_PASSWORD.txtin the ./secrets subdirectory by default.⚠️ Note: You must change the value of the
NB_API_QUERY_URLvariable in the.envfile before you can launch any service stack that includes a query tool (i.e.,full_stack,local_federation). See comments in the.envfile for more information. -
In the repository root, start the Docker Compose stack and specify your desired deployment profile
To set up a local node along with a graphical query tool and optional federation:
docker compose up -dor
docker compose --profile full_stack up -dTo set up only a local node (without a graphical query tool):
docker compose --profile local_node up -dTo set up federation only:
You may want to do this if you already have local or remote node(s) set up that you now want to send federated queries to.
docker compose --profile local_federation up -d
A log file DEPLOY.log will be automatically created under scripts/logs/ with a copy of the STDOUT from the automatic deployment process.