Skip to content

Commit

Permalink
Documentation about executing from web.
Browse files Browse the repository at this point in the history
  • Loading branch information
facundobatista committed Feb 15, 2019
1 parent 0f4777a commit be7cb31
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Expand Up @@ -93,6 +93,13 @@ be executed with fades... ::

chmod +x yourscript.py

You can also execute scripts directly from the web, passing directly the
URL of the pastebin where the script is pasted (most common pastebines are
supported, pastebin.com, gist, linkode.org, but also it's supported if
the URL points to the script directly)::

fades http://myserver.com/myscript.py


How to mark the dependencies to be installed?
---------------------------------------------
Expand Down Expand Up @@ -389,6 +396,12 @@ Uses the ``django-admin.py`` script to start a new project named ``foo``, withou

Removes a virtualenv matching the given uuid from disk and cache index.

``fades http://linkode.org/#4QI4TrPlGf1gK2V7jPBC47``

Downloads the script from the given pastebin and executes it (previously
building a virtualenv for the dependencies indicated in that pastebin,
of course).


What if Python is updated in my system?
---------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions man/fades.1
Expand Up @@ -36,6 +36,8 @@ The first non-option parameter (if any) would be then the child program to execu

\fBfades\fR can also be executed without passing a child script to execute: in this mode it will open a Python interactive interpreter inside the created/reused virtualenv (taking dependencies from \fI--dependency\fR or \fI--requirement\fR options).

If the \fIchild_program\fR parameter is really an URL, the script will be automatically downloaded from there (supporting also the most common pastebins URLs: pastebin.com, linkode.org, gist, etc.).

.SH OPTIONS

.TP
Expand Down

0 comments on commit be7cb31

Please sign in to comment.