Permalink
Browse files

added documentation for pushstatic, clonestatic and runstatic

  • Loading branch information...
1 parent 3274096 commit 31e3512251ea4b2c8358aac000b89d0aaa44e6e1 @ojii ojii committed Dec 16, 2011
Showing with 23 additions and 0 deletions.
  1. +23 −0 docs/command-line-client.rst
@@ -73,4 +73,27 @@ Builds and uploads an application to djeese. The ``<setup.py>`` is the file to
install your application. ``<filepath>`` is the path to your Djeese Application
Configuration file.
+``djeese clonestatic <websitename> <outputdir>``
+================================================
+
+Clones the static files of the website with the name ``<websitename>`` to
+``<outputdir>``. ``<outputdir>>`` defaults to ``'static/'``. All files in
+``<outputdir>`` will be overwritten.
+
+``djeese runstatic <url> <sourcedir> --port=8080``
+================================================
+
+Runs a server that serves the static files locally from ``<sourcedir>`` and all
+other content from ``<url>``. ``<sourcedir>`` defaults to ``'static/'``. You
+may optionally provide the ``--port`` argument which defaults to ``8080``. This
+command is useful for debugging your CSS. You may access the page from your
+browser at ``http://localhost:<port>``.
+
+``djeese pushstatic <websitename> <sourcedir>``
+===============================================
+
+Pushes the staticfiles from ``<sourcedir>`` to the website with the name
+``<websitename>``. ``<sourcedir>`` defaults to ``'static/'``. All files will be
+overwritten remotely.
+
.. _pip website: http://www.pip-installer.org/en/latest/installing.html

0 comments on commit 31e3512

Please sign in to comment.