{"id":27007210,"url":"https://github.com/nexdatas/nxsconfigserver-db","last_synced_at":"2025-04-04T08:19:00.805Z","repository":{"id":29260638,"uuid":"32793251","full_name":"nexdatas/nxsconfigserver-db","owner":"nexdatas","description":"Creator of MYSQL database for NeXus Configuration Tango server","archived":false,"fork":false,"pushed_at":"2024-11-07T09:39:27.000Z","size":644,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2024-11-07T10:34:21.553Z","etag":null,"topics":["mysql","nexusformat","tango"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nexdatas.png","metadata":{"files":{"readme":"README.rst","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-24T11:00:30.000Z","updated_at":"2024-11-07T09:39:31.000Z","dependencies_parsed_at":"2023-02-19T10:25:16.568Z","dependency_job_id":"8c84e70e-34a3-4b90-8cfd-9cfe76ff5aa8","html_url":"https://github.com/nexdatas/nxsconfigserver-db","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexdatas%2Fnxsconfigserver-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexdatas%2Fnxsconfigserver-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexdatas%2Fnxsconfigserver-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexdatas%2Fnxsconfigserver-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nexdatas","download_url":"https://codeload.github.com/nexdatas/nxsconfigserver-db/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142061,"owners_count":20890653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mysql","nexusformat","tango"],"created_at":"2025-04-04T08:19:00.141Z","updated_at":"2025-04-04T08:19:00.731Z","avatar_url":"https://github.com/nexdatas.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============================================================\nWelcome to NeXuS Configuration Server Database's documentation!\n===============================================================\n\n|github workflow|\n|docs|\n|Pypi Version|\n|Python Versions|\n\n.. |github workflow| image:: https://github.com/nexdatas/nxsconfigserver-db/actions/workflows/tests.yml/badge.svg\n   :target: https://github.com/nexdatas/nxsconfigserver-db/actions\n   :alt:\n\n.. |docs| image:: https://img.shields.io/badge/Documentation-webpages-ADD8E6.svg\n   :target: https://nexdatas.github.io/nxsconfigserver-db/index.html\n   :alt:\n\n.. |Pypi Version| image:: https://img.shields.io/pypi/v/nxsconfigserver-db.svg\n                  :target: https://pypi.python.org/pypi/nxsconfigserver-db\n                  :alt:\n\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/nxsconfigserver-db.svg\n                     :target: https://pypi.python.org/pypi/nxsconfigserver-db/\n                     :alt:\n\n\nAuthors: Jan Kotanski, Eugen Wintersberger, Halil Pasic\n\nThe package contains SQL files to create the MySQL database for Configuration Server.\n\nNeXuS Configuration Server is a Tango Server with its implementation based\non a MySQL database. It allows to store XML configuration datasources\nand components. It also gives possibility to select mandatory components\nand perform the process of component merging.\n\n| Source code: https://github.com/nexdatas/nxsconfigserver-db\n| Web page: https://nexdatas.github.io/nxsconfigserver-db\n\n------------\nInstallation\n------------\n\nInstall the dependencies:\n\n|    MySQLdb, PyTango, sphinx\n\nFrom sources\n^^^^^^^^^^^^\n\nDownload the latest version of NeXuS Configuration Server from\n\n|     https://github.com/nexdatas/nxsconfigserver\n|     https://github.com/nexdatas/nxsconfigserver-db\n\nExtract the sources and run for both packages\n\n.. code-block:: console\n\n\t  $ python setup.py install\n\nTo set database execute\n\n.. code-block:: console\n\n\t  $ mysql \u003c conf/mysql_create.sql\n\nwith proper privileges.\n\nDebian packages\n^^^^^^^^^^^^^^^\n\nDebian Bookworm, Bullseye, Buster as well as Oracular, Noble, Jammy packages can be found in the HDRI repository.\n\nTo install the debian packages, add the PGP repository key\n\n.. code-block:: console\n\n\t  $ sudo su\n\t  $ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -\n\nand then download the corresponding source list\n\n.. code-block:: console\n\n\t  $ cd /etc/apt/sources.list.d\n\t  $ wget http://repos.pni-hdri.de/bookworm-pni-hdri.list\n\nFinally,\n\n.. code-block:: console\n\n\t  $ apt-get update\n\t  $ apt-get install python3-nxsconfigserver nxsconfigserver-db\n\nTo instal other NexDaTaS packages\n\n.. code-block:: console\n\n\t  $ apt-get install python3-nxswriter nxsconfigtool nxstools\n\nand\n\n.. code-block:: console\n\n\t  $ apt-get install python3-nxsrecselector nxselector python3-sardana-nxsrecorder\n\nfor Component Selector and Sardana related packages.\n\nFrom pip\n^^^^^^^^\n\nTo install it from pip you can\n\n.. code-block:: console\n\n   $ python3 -m venv myvenv\n   $ . myvenv/bin/activate\n\n   $ pip install nxsconfigserver-db\n\nMoreover it is also good to install **mysql** to be able to execute\n\n.. code-block:: console\n\n\t  $ mysql \u003c conf/mysql_create.sql\n\nwhere **mysql_create.sql** is installed in  **myvenv/share/nxsconfigserver**\n\nSetting NeXus Configuration Server\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nTo set up  NeXus Configuration Server with the default configuration run\n\n.. code-block:: console\n\n          $ nxsetup -x NXSConfigServer\n\nThe *nxsetup* command comes from the **python3-nxstools** package.\nIt starts the NeXus Configuration Server and tries to find a proper value\nof the JSONSettings attribute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexdatas%2Fnxsconfigserver-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexdatas%2Fnxsconfigserver-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexdatas%2Fnxsconfigserver-db/lists"}