Saviour Commands

 Noting down some Important Commands for future reference
Author

Amartya Nambiar

Get The Jupyter Lab Server Up and Running

For  pathways_vis  Branch
docker run -it -v $PWD/src/notebooks:/home/jovyan/mgnify-examples -p 8888:8888 \
quay.io/microbiome-informatics/emg-notebooks.dev:pathways_vis

Static Documentation Rendering

Build the Docker Image for Quarto Rendering
docker build -f docker/docs.Dockerfile -t notebooks-static .
Render the Docs & Notebooks
docker run -it -v $PWD:/opt/repo -w /opt/repo notebooks-static render --execute
Start the server for serving the Quarto rendered files
docker run -it -v $PWD:/opt/repo -w /opt/repo/_site -p 4444:4444 --entrypoint python notebooks-static \
 -m http.server 4444

Deploy MGnify site with Test data

Add test data, Start the API server and Render site
task restore-mongo-test-db && task run-client