{"id":18778654,"url":"https://github.com/ramsailopal/yottadb-rust","last_synced_at":"2026-04-19T19:33:09.941Z","repository":{"id":127742782,"uuid":"400125143","full_name":"RamSailopal/YottaDB-Rust","owner":"RamSailopal","description":"YottaDB, Rust, IDE stack for very quick Rust development with YottaDB","archived":false,"fork":false,"pushed_at":"2022-01-07T16:08:23.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T05:36:50.000Z","etag":null,"topics":["docker","docker-compose","mumps","rust","theia","yottadb"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RamSailopal.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2021-08-26T10:12:44.000Z","updated_at":"2023-03-02T20:04:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"de85666c-8952-4600-99a1-99bcbd0bb58c","html_url":"https://github.com/RamSailopal/YottaDB-Rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RamSailopal/YottaDB-Rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FYottaDB-Rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FYottaDB-Rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FYottaDB-Rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FYottaDB-Rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamSailopal","download_url":"https://codeload.github.com/RamSailopal/YottaDB-Rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FYottaDB-Rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32020577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["docker","docker-compose","mumps","rust","theia","yottadb"],"created_at":"2024-11-07T20:16:49.583Z","updated_at":"2026-04-19T19:33:09.926Z","avatar_url":"https://github.com/RamSailopal.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n![example workflow](https://github.com/RamSailopal/YottaDB-Rust/actions/workflows/deploy.yml/badge.svg)\n\nThis repo allows the provision of a development environment through docker that gives you everything that you need to develop with Rust and YottaDB. There is an IDE to write code as well as a YottaDB global viewer web UI\n\n# sandbox\n\nThe sandbox environment is an immutable environment with no persistent code base or database. To provision:\n\n      git clone https://github.com/RamSailopal/YottaDB-Rust.git\n      cd YottaDB-Rust/sandbox\n      docker-compose up\n      \n# dev\n\nThe dev environment differs from sandbox in that the code base and database is persistent. To provision:\n  \nFirst clone the YDBRust repo\n\n      git clone https://gitlab.com/YottaDB/Lang/YDBRust.git\n\nThen clone this repo\n\n      git clone https://github.com/RamSailopal/YottaDB-Rust.git\n\nSet the persistent YottaDB and Rust paths\n\n      export yottadatadir=\"/path/to/YottaDB\"\n      export rustcode=\"/path/to/YDBRust\"\n      export yottavers=\"r1.32_x86_64\"\n      export glbviewadd=\"192.168.240.1\"\n      \nWhere glbviewadd is the address of the server/machine running Docker.\n\nProvision the stack:\n\n     cd YottaDB-Rust/dev\n     docker-compose up\n\n# Beginning development\n\nNavigate to http://ipofdockerserver:3002/#/home/yottadb-settings/Yottadb.theia-workspace\n\nOpen a compilation window:\n\n   **Terminal** -\u003e **Run Task** -\u003e **YottaDB Compiler** -\u003e **Continue without scanning the task output**\n\nOpen the **say_hello_rust** example:\n\n   **File** -\u003e **Open** -\u003e **examples** -\u003e **say_hello_rust.rs**\n\nThis example sets the global entry **^hello(\"Rust\")** to こんにちは.\n\nChange the こんにちは entries to something else i.e. \"Yotta\"\n\nSave the file\n\nThe compilation window should then show the compilation and execution of the code (note the first execution takes time as the dependancies will need to be built)\n\nOnce **Running `target/debug/examples/say_hello_rust`** has appeared in the compilation window the code has compiled and run\n\nOpen a YottaDB environment window:\n\n    **Terminal** -\u003e **Run Task** -\u003e **YDB** -\u003e **Continue without scanning the task output**\n    \nIn the new window, enter:\n\n    D ^%G\n    \n    Output device: \u003cterminal\u003e:\n    \n    List ^hello\n    \n    ^hello(\"Rust\")=\"Yotta\"\n    \nThe **^hello(\"Rust\")** global/subscript entry should now display as **Yotta** as above.\n\n\n# Building a project\n\nCreate a main.rs file in the src folder:\n\n\n     **File** -\u003e **Open** -\u003e **src**\n     \n     **File** -\u003e **New File**\n     \nAdd the example Hello World Code:\n\n     fn main() {\n        println!(\"Hello, world!\");\n     }\n     \nSave the file\n\nRun the Rust compiler:\n\n    **Terminal** -\u003e **Run Task** -\u003e **Rust Compiler** -\u003e **Continue without scanning the task output**\n    \nRun the Rust code:\n\n    **Terminal** -\u003e **Run Task** -\u003e **Rust Run** -\u003e **Continue without scanning the task output**\n    \n**Hello, world!** should appear at the bottom of the Rust Run window\n\n\n# YottaDB Global Viewer Web UI\n\nThe global viewer will be available on:\n\nhttp://ipaddressofdockerserver:8001\n\n**Note - The global viewer only works with dev environments and persistent storage.**\n\n\n# SSH Keys\n\nThis repo contains ssh keys for demonstation/sandpit purposes only. For a production environment, please set up new, none source controlled keys.\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Fyottadb-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framsailopal%2Fyottadb-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Fyottadb-rust/lists"}