{"id":20198840,"url":"https://github.com/eclipsesource/cdtcloud-deploymentserver","last_synced_at":"2025-07-27T09:07:15.590Z","repository":{"id":39878054,"uuid":"427037159","full_name":"eclipsesource/cdtcloud-deploymentserver","owner":"eclipsesource","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-24T16:46:24.000Z","size":1987,"stargazers_count":4,"open_issues_count":13,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-10T11:33:54.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipsesource.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":"2021-11-11T14:48:08.000Z","updated_at":"2022-06-29T21:11:57.000Z","dependencies_parsed_at":"2022-09-05T08:31:20.355Z","dependency_job_id":null,"html_url":"https://github.com/eclipsesource/cdtcloud-deploymentserver","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eclipsesource/cdtcloud-deploymentserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fcdtcloud-deploymentserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fcdtcloud-deploymentserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fcdtcloud-deploymentserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fcdtcloud-deploymentserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipsesource","download_url":"https://codeload.github.com/eclipsesource/cdtcloud-deploymentserver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fcdtcloud-deploymentserver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267334141,"owners_count":24070506,"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-07-27T02:00:11.917Z","response_time":82,"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":[],"created_at":"2024-11-14T04:34:24.531Z","updated_at":"2025-07-27T09:07:15.535Z","avatar_url":"https://github.com/eclipsesource.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdtcloud-deploymentserver\n\n[![CI](https://github.com/eclipsesource/cdtcloud-deploymentserver/actions/workflows/ci.yaml/badge.svg)](https://github.com/eclipsesource/cdtcloud-deploymentserver/actions/workflows/ci.yaml)\n\n## Getting Started\n\n### Deployment Server\n\n1. Install docker-compose\n2. Run `docker-compose up db`\n3. Install dependencies: `yarn install`\n4. Run database migration once to initialize: `yarn --cwd=packages/deployment-server run prisma migrate deploy`\n5. Generate DB Typings: `yarn --cwd=packages/deployment-server run prisma generate`\n6. Seed DB: `yarn --cwd=packages/deployment-server run prisma db seed`\n7. Start the server: `yarn --cwd=packages/deployment-server run dev`\n\n#### GCS support\n\n1. Set env variables\n\n```\nGOOGLE_CLOUD_PROJECT\nGOOGLE_CLOUD_BUCKET\n```\n\n2. Add a `.gcs_key.json` in `packages/deployment-server`\n\n3. Run the deployment server\n\n### Device Connector\n\n#### With Docker\n\n1. Set deployment-server URI in [.docker/device-connector/env](.docker/device-connector/env)\n2. Run the device-connector: `docker-compose up devcon`\n   - Build the docker-image beforehand if necessary `docker-compose build`\n\n`Note: Due to docker not supporting privileged mode on Windows, this does only work on unix systems.`\n\n#### On System\n\n1. Download the latest supported arduino-cli version _(currently v0.20.0)_ from [arduino-cli releases](https://github.com/arduino/arduino-cli/releases/tag/0.20.0)\n2. Start the arduino-cli daemon: `arduino-cli daemon --port 50051 --daemonize --verbose`\n3. Install dependencies: `yarn install`\n4. Set deployment-server URI in [packages/device-connector/.env](packages/device-connector/.env)\n5. Start the device connector: `yarn --cwd=packages/device-connector run start`\n\n##### Add support for additonal boards\n\nSTM32 Board-Core\n\n```bash\narduino-cli config add board_manager.additional_urls https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json\narduino-cli core update-index\narduino-cli core install STMicroelectronics:stm32\n```\n\nArduino:sam Board-Core\n\n```bash\narduino-cli core update-index\narduino-cli core install arduino:sam\n```\n\n## Theia:\n\nTo configure the deployment server, set:\n\n```\nDEPLOYMENT_SERVER_HOST=localhost:3001 DEPLOYMENT_SERVER_SECURE=false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Fcdtcloud-deploymentserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipsesource%2Fcdtcloud-deploymentserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Fcdtcloud-deploymentserver/lists"}