Using project directories as home directories (AEN 4.2.1)
=========================================================

.. raw:: html

    <p>This option changes the home directories from the standard <code class="docutils literal"><span class="pre">/home/&lt;username&gt;</span></code>
    location to the project directories. Then the package cache is saved in the
    user project location. This works better when collaborating users are
    installing or updating packages in the same project.</p>
    <p>Because the package cache and the project are on the same filesystem, conda can
    often also create hardlinks and not copy files. This saves disk space and saves
    time when creating or cloning environments.</p>
    <p>NOTE: This option should be enabled immediately after performing the
    installation process and before any users have logged in to AEN. This ensures
    that users will not have home directories in different places due to some
    creating their home directories when the option was disabled and others
    creating their home directories when the option was enabled.</p>
    <ol class="arabic">
    <li><p class="first">In the <code class="docutils literal"><span class="pre">/opt/wakari/wakari-compute/etc/wakari/wk-compute-launcher-config.json</span></code>
    file, add the <code class="docutils literal"><span class="pre">projDirsAsHome</span></code> key value and set it to <code class="docutils literal"><span class="pre">true</span></code>.</p>
    <div class="highlight-bash"><div class="highlight"><pre><span></span>, <span class="s2">&quot;projDirsAsHome&quot;</span>: <span class="nb">true</span>
    </pre></div>
    </div>
    <p>NOTE: You must add the comma at the beginning of the line. If you add this
    line as the last key, you must remove any comma at the end of the line.</p>
    </li>
    <li><p class="first">Restart the AEN compute service:</p>
    <div class="highlight-bash"><div class="highlight"><pre><span></span>sudo service wakari-compute restart
    </pre></div>
    </div>
    </li>
    </ol>
