{"id":18914313,"url":"https://github.com/tolstoyevsky/cusdeb-single-node","last_synced_at":"2026-05-17T02:35:04.670Z","repository":{"id":52781152,"uuid":"149578308","full_name":"tolstoyevsky/cusdeb-single-node","owner":"tolstoyevsky","description":"Set of scripts intended for simplifying deployment of CusDeb for developing purposes","archived":false,"fork":false,"pushed_at":"2021-04-19T16:48:13.000Z","size":127,"stargazers_count":1,"open_issues_count":6,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-01T05:41:11.177Z","etag":null,"topics":["bash","cusdeb"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tolstoyevsky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-20T08:39:56.000Z","updated_at":"2021-06-24T19:18:24.000Z","dependencies_parsed_at":"2022-08-22T09:20:52.124Z","dependency_job_id":null,"html_url":"https://github.com/tolstoyevsky/cusdeb-single-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tolstoyevsky/cusdeb-single-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolstoyevsky%2Fcusdeb-single-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolstoyevsky%2Fcusdeb-single-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolstoyevsky%2Fcusdeb-single-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolstoyevsky%2Fcusdeb-single-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tolstoyevsky","download_url":"https://codeload.github.com/tolstoyevsky/cusdeb-single-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolstoyevsky%2Fcusdeb-single-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269687846,"owners_count":24459386,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash","cusdeb"],"created_at":"2024-11-08T10:10:58.830Z","updated_at":"2025-10-24T14:34:45.803Z","avatar_url":"https://github.com/tolstoyevsky.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cusdeb-single-node \n\nThe project is a set of scripts intended for simplifying deployment of CusDeb for developing purposes.\n\n## Installation\n\nInstall packages.\n```bash\nsudo apt install git docker docker-compose curl pkg-config pandoc supervisor python3-pip virtualenv postgresql postgresql-server-dev-all qemu-user-static whois -y\n ```\n\nClone project.\n```bash\ngit clone git@github.com:tolstoyevsky/cusdeb-single-node.git\n```\n\nCreate directory cusdeb.\n ```bash\nmkdir cusdeb\n```\nBuild project in directory cusdeb.\n ```bash\ncd cusdeb-single-node\nsudo ./single-node.sh build ../cusdeb\n```\n\n## Usage\n\nScript supports the following parameters:\n\n| Parameter    | Description |\n|------------|---------|\n| build `\u003ctarget_directory\u003e` | Setup all CusDeb services with all dependences to the `\u003ctarget_directory\u003e`. It supposed to be empty.\n| create-superuser       | Create superuser for Django admin interface (see the corresponding [section](https://docs.djangoproject.com/en/2.2/ref/django-admin/#createsuperuser) in the official documentation).\n| dbshell                | Connect to the project's database (see the corresponding [section](https://docs.djangoproject.com/en/2.2/ref/django-admin/#dbshell) in the official documentation).\n| list                   | List all services.\n| loaddata `\u003cfixture\u003e`   | Read the data from the specified fixture and load it into the database (note that `\u003cfixture\u003e` must be a full path to the fixture file) (see the corresponding [section](https://docs.djangoproject.com/en/2.2/ref/django-admin/#loaddata) in the official documentation).\n| makemigrations         | Generate migrations based on changes in models (see the corresponding [section](https://docs.djangoproject.com/en/2.2/ref/django-admin/#makemigrations) in the official documentation).\n| migrate                | Apply all migrations (see the corresponding [section](https://docs.djangoproject.com/en/2.2/ref/django-admin/#migrate) in the official documentation).\n| rebuild  [`\u003cfast\u003e`]    | Clean the directory the CusDeb services were installed to (see the `build` command) and re-setup all the services. By default, the chroot environments will be left when cleaning the directory. If you want to re-setup not only the CusDeb services but also chroot environments, pass `full` as the first argument to `rebuild`.\n| remove                 | Clean the directory the CusDeb services were installed to (see the `build` command).\n| restart                | Restart all services.\n| shell                  | Start Python interpreter with established enviroment.\n| start                  | Start all services.\n| stop `\u003cservice\u003e`       | Stop the specified service.\n| stop-all               | Stop all services.\n\n\nWhen you start services you can specify the ports for them via the `BM_PORT` and `DOMINION_PORT` environment variables. For example:\n```\nsudo env BM_PORT=9000 ./single-node.sh start\n``` \nDefault ports are:\n\n| Service                                                                | Default |\n|------------------------------------------------------------------------|---------|\n| [CusDeb Web Client](https://github.com/tolstoyevsky/cusdeb-web-client) | 8000    |\n| [CusDeb API](https://github.com/tolstoyevsky/cusdeb-api)               | 8001    |\n| [Black Magic](https://github.com/tolstoyevsky/blackmagic)              | 8002    |\n| [Dominion](https://github.com/tolstoyevsky/dominion)                   | 8003    |\n| [Orion](https://github.com/tolstoyevsky/orion)                         | 8004    |\n| [CusDeb Helpik](https://github.com/tolstoyevsky/cusdeb-helpik)         | 8005    |\n| [CusDeb Tz](https://github.com/tolstoyevsky/cusdeb-tz)                 | 8006    |\n| [CusDeb Anonymous](https://github.com/tolstoyevsky/cusdeb-anonymous)   | 8007    |\n\n## Authors\n\nSee [AUTHORS](https://github.com/tolstoyevsky/cusdeb-single-node/blob/master/AUTHORS.md).\n    \n## Licensing\n\ncusdeb-single-node is available under the [Apache License, Version 2.0.](https://github.com/tolstoyevsky/cusdeb-single-node/blob/master/LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftolstoyevsky%2Fcusdeb-single-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftolstoyevsky%2Fcusdeb-single-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftolstoyevsky%2Fcusdeb-single-node/lists"}