Skip to content

Commit 3d81d31

Browse files
committed
add step to cp fmriprep.egg-info into directory
1 parent 12dee09 commit 3d81d31

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

docs/contributors.rst

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -155,24 +155,34 @@ We can start a docker container using the image we built (``fmriprep_devel``)::
155155
$ docker run -it -p 127.0.0.1:8445:8080 -v ${PWD}:/src/fmriprep fmriprep_devel:latest
156156

157157
.. Note::
158-
`code-server is not currently working with docker toolbox
159-
<https://github.com/cdr/code-server/issues/903>`_.
158+
If you are using windows shell, ${PWD} may not be defined, instead use the absolute
159+
path to your fmriprep directory.
160160

161-
|ss| If you are using Docker-Toolbox, you will need to change your virtualbox settings
161+
.. Note::
162+
If you are using Docker-Toolbox, you will need to change your virtualbox settings
162163
using `these steps as a guide
163164
<https://github.com/jdkent/tutDockerRstudio#additional-setup-for-docker-toolbox>`_.
164165
For step ``6``, instead of ``Name = rstudio; Host Port = 8787; Guest Port = 8787``,
165166
have ``Name = code-server; Host Port = 8443; Guest Port = 8080``.
166167
Then in the docker command above, change ``127.0.0.1:8445:8080``
167-
to ``192.168.99.100:8445:8080``. |se|
168+
to ``192.168.99.100:8445:8080``.
168169

169170
If the container started correctly, you should see the following on your console::
170171

171172
INFO Server listening on http://localhost:8080
172173
INFO - No authentication
173174
INFO - Not serving HTTPS
174175

175-
Now you can switch to your favorite browser and go to: ``127.0.0.1:8445``.
176+
Now you can switch to your favorite browser and go to: ``127.0.0.1:8445``
177+
(or ``192.168.99.100:8445`` for Docker Toolbox).
178+
179+
3. copy fmriprep.egg-info into your fmriprep directory
180+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181+
``fmriprep.egg-info`` contains the necessary information for the fmriprep package for it
182+
to be run inside the docker container. Open a terminal in vscode and type the following::
183+
184+
$ cp -R /src/fmriprep.egg-info /src/fmriprep/
185+
176186

177187
Code-Server Development Environment Features
178188
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -221,12 +231,4 @@ An example of how this works is shown here: ::
221231
(transformation matrices, and six corresponding rotation and translation
222232
parameters) are estimated before any spatiotemporal filtering using
223233
`mcflirt` [FSL {fsl_ver}, @mcflirt].
224-
""".format(fsl_ver=fsl.Info().version() or '<ver>')
225-
226-
.. |ss| raw:: html
227-
228-
<strike>
229-
230-
.. |se| raw:: html
231-
232-
</strike>
234+
""".format(fsl_ver=fsl.Info().version() or '<ver>')

0 commit comments

Comments
 (0)