diff --git a/docs/contributing/dev-setup.rst b/docs/contributing/dev-setup.rst --- a/docs/contributing/dev-setup.rst +++ b/docs/contributing/dev-setup.rst @@ -4,7 +4,8 @@ Development setup =================== -#TODO +Please refer to RCstack installed documentation for instructions on setting up dev environment: +https://docs.rhodecode.com/rcstack/dev/dev-setup.html Need Help? ^^^^^^^^^^ diff --git a/docs/nix/add-to-env.rst b/docs/nix/add-to-env.rst deleted file mode 100644 --- a/docs/nix/add-to-env.rst +++ /dev/null @@ -1,43 +0,0 @@ -Adding Custom Packages -====================== - -If you wish to make additional Python modules available to use with -extensions that you have developed, use the following information. - -Prerequisite ------------- - -|RCC| manages the |RCE| environment using Supervisor. To add custom packages -you need to install your instance of |RCE| as a self managed -instance. This will let you to update the ``PYTHONPATH`` without |RCC| -overwriting it. You can then extend the ``PYTHONPATH`` to find packaged -outside of the |RCC| managed environment. To install |RCE| as a self-managed -service using |RCC|, see the -:ref:`Self-managed Instructions `. - -Adding Custom Packages ----------------------- - -Once you have your instance configured as self-managed, use the following steps. - -1. Add the modules to the |RCE| instance directory, - :file:`/home/{user}/.rccontrol/{instance-id}`. -2. Add this location to your ``PYTHONPATH`` environment variable. This is set - in the :file:`/home/{user}/.rccontrol/supervisor/supervisor.ini` file. For - more information about ``PYTHONPATH``, see the `PYTHONPATH documentation`_. - -.. code-block:: ini - - [program:enterprise-1_script] - numprocs = 1 - redirect_stderr = true - environment = PYTHONPATH="",GIT_SSL_CAINFO="/home/user/.rccontrol-profile/etc/ca-bundle.crt" - -3. Specify the hook for your added module on the - :menuselection:`Admin --> Settings --> Hooks` page. For - example, ``python:rcextensions/you.custom.hook`` -4. Restart |RCE| using the ``rccontrol restart `` command. - For more information, see the :ref:`RhodeCode Control CLI ` - documentation. - -.. _PYTHONPATH documentation: https://docs.python.org/2/using/cmdline.html#envvar-PYTHONPATH diff --git a/docs/nix/default-env.rst b/docs/nix/default-env.rst deleted file mode 100644 --- a/docs/nix/default-env.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. _system-pack: - -System Packaging -================ - -.. toctree:: - :maxdepth: 1 - - nix - add-to-env diff --git a/docs/nix/nix.rst b/docs/nix/nix.rst deleted file mode 100644 --- a/docs/nix/nix.rst +++ /dev/null @@ -1,31 +0,0 @@ -.. _rhodecode-nix-ref: - -Nix Packaging -============= - -|RCE| is installed using |Nix Package Manager|. The Nix environment provides -the following features for maintenance and deployment: - -* Atomic upgrades and rollbacks -* Complete dependency management -* Garbage collection -* Binary patching -* Secure channel updates -* Nix works on Windows, Linux, and OSX - -The complete list of dependencies can be found in -:file:`/opt/rhodecode/store/{unique-hash}`. - -.. note:: - - No |RCE| data is stored in this location. - -.. warning:: - - Never alter any of the packages in the store. Always use the - :ref:`RhodeCode Control CLI ` update functions to keep - the packages and instances updated. - -.. |Nix Package Manager| raw:: html - - Nix