diff --git a/doc/source/development_saio.rst b/doc/source/development_saio.rst index 43e00d2d43..40e9e1944a 100755 --- a/doc/source/development_saio.rst +++ b/doc/source/development_saio.rst @@ -102,9 +102,9 @@ If you want to use a loopback device instead of another partition, follow these #. `chown -R : /etc/swift /srv/[1-4]/ /var/run/swift` -- **Make sure to include the trailing slash after /srv/[1-4]/** #. Add to `/etc/rc.local` (before the `exit 0`):: - mkdir /var/cache/swift /var/cache/swift2 /var/cache/swift3 /var/cache/swift4 + mkdir -p /var/cache/swift /var/cache/swift2 /var/cache/swift3 /var/cache/swift4 chown : /var/cache/swift* - mkdir /var/run/swift + mkdir -p /var/run/swift chown : /var/run/swift .. _rsync-section: @@ -256,6 +256,7 @@ Optional: Setting up rsyslog for individual logging #. `mkdir -p /var/log/swift/hourly` #. `chown -R syslog.adm /var/log/swift` + #. `chmod -R g+w /var/log/swift` #. `service rsyslog restart` ------------------------------------------------ @@ -734,6 +735,10 @@ On MacOS: #. `sudo easy_install -U sphinx` #. `python setup.py build_sphinx` +Install tox so you find Py26 and PEP8 problems before Jenkins does: + #. `sudo apt-get install python2.6-dev python-pip` + #. `sudo pip install tox` + ---------------- Debugging Issues ----------------