Skip to content

Commit 725b232

Browse files
committed
minor touch of readme
1 parent 606cc5c commit 725b232

File tree

2 files changed

+32
-27
lines changed

2 files changed

+32
-27
lines changed

README.rst

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,27 @@ develop Galaxy tools.
3333
Obtaining Planemo
3434
-----------------
3535

36-
Planemo can be installed via Conda, Homebrew, or
37-
as a more traditional Python project.
38-
39-
To install using Conda_:
36+
The recommended approach for installing Planemo is to use Homebrew_ or
37+
linuxbrew_. To install Planemo this way use the ``brew`` command as
38+
follows.
4039

4140
::
4241

43-
$ conda config --add channels r
44-
$ conda config --add channels bioconda
45-
$ conda install planemo
42+
$ brew tap galaxyproject/tap
43+
$ brew install planemo
4644

47-
To install using Homebrew_ or linuxbrew_:
45+
46+
Planemo can alternatively be installed via Conda_:
4847

4948
::
5049

51-
$ brew tap galaxyproject/tap
52-
$ brew install planemo
50+
$ conda config --add channels r
51+
$ conda config --add channels bioconda
52+
$ conda install planemo
5353

54-
For a more traditional Python installation set up a virtualenv
55-
for ``planemo`` (this example creates a new one in ``.venv/``) and then
56-
install with ``pip``.
54+
For third option and a more traditional Python installation set up a virtualenv
55+
for Planemo (this example creates a new one in ``.venv/``) and then
56+
install it with ``pip``.
5757

5858
::
5959

@@ -69,8 +69,8 @@ You can choose from open virtualization format (OVA_, .ova), Docker, or Vagrant
6969
Planemo Basics
7070
--------------
7171

72-
This quick start will assume you will have a directory with one or more
73-
tool XML files. If none is available, one can be quickly create for
72+
This quick start will assume you have a directory with one or more
73+
tool XML files. If none is available, one can be quickly created for
7474
demonstrating ``planemo`` as follows ``mkdir mytools; cd mytools; planemo
7575
project_init --template=demo``.
7676

@@ -81,7 +81,6 @@ practices using the ``lint`` `command <http://planemo.readthedocs.org/en/latest/
8181
::
8282

8383
$ planemo lint
84-
...
8584

8685
Like many ``planemo`` commands - by default this will search the
8786
current directory and use all tool files it finds. It can be explicitly
@@ -92,14 +91,14 @@ passed a path to tool files or a directory of tool files.
9291
$ planemo l randomlines.xml
9392

9493
The ``lint`` command takes in additional options related to
95-
reporting levels, exit code, etc. These options are described here
96-
or (like all available commands) can be accessed by passing ``--help`` to it.
94+
reporting levels, exit code, etc. These options are described
95+
in the `docs <http://planemo.readthedocs.org/en/latest/commands.html#lint-command>`_
96+
or (like with all commands) can be accessed by passing ``--help`` to it.
9797

9898
::
9999

100100
$ planemo l --help
101101
Usage: planemo lint [OPTIONS] TOOL_PATH
102-
...
103102

104103
Once tools are syntactically correct - it is time to test. The ``test``
105104
`command <http://planemo.readthedocs.org/en/latest/commands.html#test-command>`__
@@ -121,7 +120,8 @@ testing. Pass ``--install_galaxy`` instead of ``--galaxy_root``.
121120
$ planemo t --install_galaxy
122121

123122
Planemo will create a HTML output report in the current directory named
124-
``tool_test_output.html`` (override with ``--test_output``). See an `example <http://galaxyproject.github.io/planemo/tool_test_viewer.html?test_data_url=https://gist.githubusercontent.com/jmchilton/9d4351c9545d34209904/raw/9ed285d3cf98e435fc4a743320363275949ad63c/index>`_
123+
``tool_test_output.html`` (override with ``--test_output``). See an
124+
`example <http://galaxyproject.github.io/planemo/tool_test_viewer.html?test_data_url=https://gist.githubusercontent.com/jmchilton/9d4351c9545d34209904/raw/9ed285d3cf98e435fc4a743320363275949ad63c/index>`_
125125
of such a report for Tophat.
126126

127127
Once tools have been linted and tested - the tools can be viewed in a

docs/appliance.rst

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Virtual Appliance
33
==================
44

55
You can use Planemo as part of a Galaxy tool development virtual
6-
appliance pre-configured with Planemo, Galaxy_, Docker_, a local Tool Shed,
7-
linuxbrew_, and Komodo_ editor.
6+
appliance which comes pre-configured with Planemo, Galaxy_, Docker_, Conda_,
7+
a local Tool Shed, linuxbrew_, Komodo_ and Atom_ editors.
88

99

1010
Quick Links
@@ -34,7 +34,7 @@ format (OVA_, .ova), Docker, Vagrant, and as a Google Compute Engine cloud image
3434

3535
The OVA image is a stable way to boot a Planemo virtual
3636
machine on any platform and comes with a pre-configured Xubuntu-based windowed
37-
operating system with graphical editing tools including Komodo_ editor.
37+
operating system with graphical editing tools including Komodo_ and Atom_ editors.
3838
This approach can be thought of more as a complete
3939
environment and may be better for tutorials and workshops where consistent user
4040
experience is more important.
@@ -49,12 +49,12 @@ local compute resources are unavailable or insufficient.
4949

5050
Launching the Appliance
5151
-----------------------
52-
The following sections will desribe how to launch the appliance using various platforms.
52+
The following sections will describe how to launch the appliance using various platforms.
5353

5454
Launching the Appliance (VirtualBox - OVA)
5555
================================================
5656

57-
The VirtualBox OVA variant of the planemo appliance comes preconfigured with
57+
The VirtualBox OVA variant of the Planemo appliance comes preconfigured with
5858
a full windowed development environment (based on Xubuntu). Encompassing the
5959
complete environment means it is easier to setup and provides an identical
6060
experience for every developer using it. These make the OVA image ideal
@@ -78,7 +78,7 @@ and the machine should become available.
7878
.. image:: images/ova_importing.png
7979
:alt: Screenshot OVA Import
8080

81-
The Firefox browser, Komodo_ editor, Galaxy, Planemo and everything else is
81+
The Firefox browser, Komodo_ and Atom_ editors, Galaxy, Planemo and everything else is
8282
available right away on the desktop along with useful links.
8383

8484
.. image:: images/ova_desktop.png
@@ -159,6 +159,7 @@ following command (which will pull the appliance down from `Docker Hub
159159
<https://registry.hub.docker.com/u/planemo/interactive/>`_).
160160

161161
::
162+
162163
$ docker run -p 8010:80 -p 9009:9009 -v `pwd`:/opt/galaxy/tools -i -t planemo/interactive
163164

164165
This command will start Galaxy and various other services and then open a bash
@@ -193,6 +194,7 @@ This file must literally be named ``Vagrantfile``. Next you will need to
193194
startup the appliance. This is as easy as
194195

195196
::
197+
196198
$ vagrant up
197199

198200
Once the virtual server has booted up completely, Galaxy will be available at
@@ -218,6 +220,7 @@ If you set these defaults, you will not have to supply them to all subsequent
218220
commands.
219221

220222
::
223+
221224
$ gcloud auth login
222225
$ gcloud config set project YOUR-PROJECT-NAME
223226
$ gcloud config set compute/region us-central1 (replace us-central1 with another region if desired)
@@ -228,13 +231,14 @@ need to be done one time, unless you delete the image from your account.
228231

229232
::
230233

231-
gcloud compute images create planemo-machine --source-uri=http://storage.googleapis.com/galaxyproject_images/planemo_machine.image.tar.gz
234+
$ gcloud compute images create planemo-machine --source-uri=http://storage.googleapis.com/galaxyproject_images/planemo_machine.image.tar.gz
232235

233236
To launch the image as a fresh instance, use the following command. This
234237
command will, upon completion, display an external ip address that you can
235238
navigate to in your web browser.
236239

237240
::
241+
238242
$ gcloud compute instances create planemo --machine-type n1-standard-2 --image planemo-machine --tags http-server
239243

240244
If you'd like to SSH in to the instance at this point, it's easy to do with:
@@ -264,4 +268,5 @@ environments such as Amazon Web Services and Google Compute Engine.
264268
.. _Kitematic: https://kitematic.com/
265269
.. _boot2docker: http://boot2docker.io/
266270
.. _OVA: https://en.wikipedia.org/wiki/Open_Virtualization_Format
271+
.. _Atom: https://atom.io/
267272

0 commit comments

Comments
 (0)