diff --git a/Makefile b/Makefile index de0f924d..62e6b9f0 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,13 @@ help: .PHONY: help Makefile +# This calls sphinx-apidoc to create an api folder in SOURCEDIR with +# documentation for all Python modules +buildapi: + @sphinx-apidoc -fMeET -o docsrc/api designer + @echo "Auto-generation of API documentation finished. " \ + "The generated files are in 'api/'" + github: @make html @cp -a docs/html/. ./docs diff --git a/README.md b/README.md index f96ba66e..d1f2265e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # PyDesigner -[![Docker Pulls](https://img.shields.io/docker/pulls/dmri/neurodock?logo=docker)](https://hub.docker.com/r/dmri/neurodock) - [Please view updated documentation here](https://m-ama.github.io/PyDesigner/)
@@ -29,463 +27,7 @@ PyDesigner was inspired by [NYU's DESIGNER](https://github.com/NYU-DiffusionMRI/
-## Table of Contents -**[Abstract](#pydesigner)**- - - -
- -**Before proceeding, please ensure that your hardware is capable of virtualization. Most modern Intel and AMD processors are compatible. 16 GB minimum RAM is recommended.** - -### Docker Installation -The first step is actually installing Docker. One can easily download and install this from the [Docker Desktop](https://www.docker.com/products/docker-desktop) page by following instructions for respective platforms. - -**Windows Users**: Please ensure that Hyper-V is enabled on your machine by following the guide [here](https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v). - -### Configure Docker -Run docker after installation, then head over to docker preferences by opening the **Docker menu > Preferences...**, via the Docker icon in your taskbar. - -- - -
- -Head over to the advanced tab and select the maximum number of CPU to make available to Docker. For dMRI processing, upward of 4 is recommended. Then allocate 16.0 GiB or more memory with 1.0 GiB of Swap. - -- - -
- -Users are encouraged not to allocate all their physical CPUs to Docker. As a guideline, it is okay to allcate up to 75% of all physical cores. - -### Compiling Instructions -There are two ways to build a the NeuroDock docker image, through the [GitHub repository](https://github.com/m-ama/PyDesigner) or via [DockerHub](https://hub.docker.com/r/dmri/neurodock), where the latter is highly recommended. - -#### Via DockerHub -DockerHub is a repository of Docker images and containers for every occassion. -The greatest advantage to using DockerHub is the ease and speed of building a container, where a simple commands can fetch a precompiled image. One can easily build NeuroDocker with the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pull/) command: - -``` -docker pull dmri/neurodock -``` - -Total estimated download for `dmri/neurodock:latest` is approximately 6.0 GB. - -#### Via GitHub -To build a docker image via the GitHub repo, begin by cloning the repository to your local machine and take note of its path. - -Then, in your command line, type: - -**To build latest from master:** -``` -docker build -t