A Jekyll project template for Data Science
├── Makefile <- Makefile with commands like `make build-site`.
├── README.md <- The top-level README for developers using this project.
├── _jupyter
│ ├── notebooks <- Jupyter notebooks for conversion are stored here.
│ └── templates <- Where nbconvert templates are stored.
│
├── _layouts <- Where Jekyll layout templates are stored.
│
├── _posts <- Where Jekyll markdown posts are stored.
│
├── assets
│ ├── css <- Where CSS files are stored.
│ └── images <- Where image files are stored.
│
├── pages <- Where pages (i.e. non-post files) are stored.
│
└── _config.yml <- The config file for Jekyll.
Here we will document the different make
commands defined in the Makefile
.
All commands (excluding the all
command which is simply executed by
running make
) are executed by the following format: make [COMMAND]
. To see
the contents of a command that will be executed upon invocation of the
command, simply run make -n [COMMAND]
.
all
: (aka: make
) defaults to converting all UN-converted notebooksjupyter
: launches the Jupyter notebook development Docker imageexecute
: execute all Jupyter notebooks (in place)convert
: convert all Jupyter notebooks (even if not changed)sync
: copy all converted files to necessary directoriesjekyll
: startup Docker container running Jekyll serverbuild-site
: build Jekyll static sitepause
: pause PSECS (to pause between commands)address
: get Docker container address/portcontainers
: launch all Docker containerscommit
: git add/commit all synced filespush
: git push to remote branchpublish
: [ WARNING ] convert, sync, commit, and push all at oncelist-containers
: list all running containersstop-containers
: simply stops all running Docker containersrestart-containers
: restart all containersunsync
: remove all synced filesclear-nb
: simply clears Jupyter notebook outputclear-output
: removes all converted filesclear-jekyll
: removes Jekyll _site/ directoryclean
: combines all clearing commands into onereset
: [ WARNING ] reverses all changes prior to commit
command