Commits

Mikhail Korobov committed 7bc277f

Documentation improvements

Comments (0)

Files changed (1)

    here). Example::
 
         # my_project/fabfile.py
-        from fabric.api import *
         from fab_deploy import *
 
         def my_site():
             env.hosts = ['my_site@example.com']
             env.conf = dict(
                 DB_PASSWORD = 'password',
-                PROCESSES = 2,
+
                 # uncomment this for Debian Squeeze servers
                 # OS = 'squeeze',
 
                 },
             }
         }
-        MEDIA_URL = 'http://{{ SERVER_NAME }}/static/'
 
    Then create :file:`config.py` for local development.
    Import config in project's :file:`settings.py`::
 5. Create ``reqs`` folder at project root. This folder should contain
    text files with `pip requirements <http://pip.openplans.org/requirement-format.html>`_.
 
+   You can get basic/example ``reqs`` folder by running ::
+
+       django-fab-deploy example_reqs
+
    One file is special: :file:`reqs/all.txt`. This is the main requirements
    file. List all project requirements here one-by-one or (preferrable) by
    including other requirement files using "-r" syntax.
 
-   You can get basic/example ``reqs`` folder by running ::
+   There is also
 
-       django-fab-deploy example_reqs
+       django-fab-deploy generate_reqs
+
+   command. It creates ``reqs`` folder with :file:`all.txt' file containing
+   a list of currently installed packages (obtained from ``pip freeze``).
 
 
 The project should look like that after finishing steps 1-5::