Skip to content

Commit

Permalink
🔧(notebook) restrict work volume to Warren's API folder
Browse files Browse the repository at this point in the history
Running the chmod recursively over all project's files
was taking too long. Limit the scope to the Python package.
  • Loading branch information
lebaudantoine committed Sep 28, 2023
1 parent 6b87163 commit 297715d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,10 @@ help:
.PHONY: help

jupytext--to-md: ## convert local ipynb files into md
bin/jupytext --to md work/**/*.ipynb
bin/jupytext --to md work/*.ipynb
.PHONY: jupytext--to-md

jupytext--to-ipynb: ## convert remote md files into ipynb
bin/jupytext --to ipynb work/**/*.md
bin/jupytext --to ipynb work/*.md
.PHONY: jupytext--to-ipynb

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ services:
- users
volumes:
- ./notebook/notebooks:/home/jovyan/work
- .:/home/jovyan/work/warren
- ./src/api:/home/jovyan/work/warren

0 comments on commit 297715d

Please sign in to comment.