Skip to content

Commit

Permalink
Fixes for RST.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jul 6, 2015
1 parent 6ffa688 commit ceffd07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions docs/_writing_publish_intro.rst
@@ -1,25 +1,26 @@
.. _shed:

=============================
Publishing to the Tool Shed
=============================
====================================================

Now that the tool is working and useful - it is time to publish it to the tool
shed. The `Galaxy Tool Shed`_ (referred to colloquially in Planemo as the
"shed") can store Galaxy tools, dependency definitions, and workflows among
other Galaxy artifacts.

-------------------------------------------------
Configuring a Shed Account
=============================
-------------------------------------------------

The `planemo <http://planemo.readthedocs.org/en/latest/appliance.html>`__
appliance comes pre-configured with a local Tool Shed and planemo is
configured to talk to it via ``~/.planemo.yml``. Check out the `publishing docs
<http://planemo.readthedocs.org/en/latest/publishing.html>`__ for information
on setting up this ``~/.planemo.yml`` file on your development environment.

-------------------------------------------------
Creating a Repository
=============================
-------------------------------------------------

Planemo can be used to used to publish "repositories" to the Tool Shed. A
single GitHub repository or locally managed directory of tools may correspond
Expand Down Expand Up @@ -66,8 +67,9 @@ Now navigate to the local tool shed (likely at `http://localhost:9009/
<http://localhost:9009/>`__). You can login with login ``planemo@test.com``
and password ``planemo``.

-------------------------------------------------
Updating a Repository
=============================
-------------------------------------------------

::

Expand Down
2 changes: 1 addition & 1 deletion planemo/commands/cmd_project_init.py
Expand Up @@ -42,6 +42,6 @@ def cli(ctx, path, template=None, **kwds):
untar_args = UNTAR_ARGS % (tempdir)
untar_to(DOWNLOAD_URL, tempdir, untar_args)
shell("ls '%s'" % (tempdir))
shell("mv '%s/%s'/* '%s'" % (tempdir, template, path))
shell("mv '%s/%s'/* '%s/%s'/.* '%s'" % (tempdir, template, path))
finally:
shutil.rmtree(tempdir)

0 comments on commit ceffd07

Please sign in to comment.