Metadata-Version: 1.1
Name: nxsconfigserver-db
Version: 1.10.2
Summary: Configuration Server  DataBase
Home-page: https://github.com/jkotan/nexdatas/
Author: Jan Kotanski
Author-email: jankotan@gmail.com
License: GNU GENERAL PUBLIC LICENSE v3
Description: ===============================================================
        Welcome to NeXuS Configuration Server Database's documentation!
        ===============================================================
        
        
        Authors: Jan Kotanski, Eugen Wintersberger, Halil Pasic
        
        The package contains SQL files to create the MySQL database for Configuration Server.
        
        NeXuS Configuration Server is a Tango Server with its implementation based
        on a MySQL database. It allows to store XML configuration datasources
        and components. It also gives possibility to select mandatory components
        and perform the process of component merging.
        
        | Source code: https://github.com/nexdatas/configserver-db
        | Web page: https://nexdatas.github.io/configserver-db
        
        ------------
        Installation
        ------------
        
        Install the dependencies:
        
            MySQLdb, PyTango, sphinx
        
        From sources
        ^^^^^^^^^^^^
        
        Download the latest version of NeXuS Configuration Server from
        
        |     https://github.com/nexdatas/configserver
        |     https://github.com/nexdatas/configserver-db
        
        Extract the sources and run for both packages
        
        .. code-block:: console
        
        	  $ python setup.py install
        
        To set database execute
        
        .. code-block:: console
        
        	  $ mysql < conf/mysql_create.sql
        
        with proper privileges.
        
        Debian packages
        ^^^^^^^^^^^^^^^
        
        Debian Jessie (and Wheezy) packages can be found in the HDRI repository.
        
        To install the debian packages, add the PGP repository key
        
        .. code-block:: console
        
        	  $ sudo su
        	  $ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -
        
        and then download the corresponding source list
        
        .. code-block:: console
        
        	  $ cd /etc/apt/sources.list.d
        	  $ wget http://repos.pni-hdri.de/jessie-pni-hdri.list
        
        Finally,
        
        .. code-block:: console
        
        	  $ apt-get update
        	  $ apt-get install python-nxsconfigserver nxsconfigserver-db
        
        To instal other NexDaTaS packages
        
        .. code-block:: console
        
        	  $ apt-get install python-nxswriter nxsconfigtool nxstools
        
        and
        
        .. code-block:: console
        
        	  $ apt-get install python-nxsrecselector nxselector python-sardana-nxsrecorder
        
        for Component Selector and Sardana related packages.
        
        From pip
        ^^^^^^^^
        
        To install it from pip you can
        
        .. code-block:: console
        
           $ python3 -m venv myvenv
           $ . myvenv/bin/activate
        
           $ pip install nxsconfigserver-db
        
        Moreover it is also good to install **mysql** to be able to execute
        
        .. code-block:: console
        
        	  $ mysql < conf/mysql_create.sql
        
        where **mysql_create.sql** is installed in  **mynenv/share/nxsconfigserver**
        
        Setting NeXus Configuration Server
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        
        To set up  NeXus Configuration Server with the default configuration run
        
        .. code-block:: console
        
                  $ nxsetup -x NXSConfigServer
        
        The *nxsetup* command comes from the **python-nxstools** package.
        It starts the NeXus Configuration Server and tries to find a proper value
        of the JSONSettings attribute.
        
Keywords: configuration MySQL writer Tango server nexus data
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
