{"id":20127154,"url":"https://github.com/cloudamqp/presentation-demo","last_synced_at":"2026-02-09T16:32:13.277Z","repository":{"id":193217882,"uuid":"688352470","full_name":"cloudamqp/presentation-demo","owner":"cloudamqp","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-11T08:05:00.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-17T17:40:55.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Crystal","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/cloudamqp.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}},"created_at":"2023-09-07T07:11:29.000Z","updated_at":"2024-09-19T17:14:25.000Z","dependencies_parsed_at":"2023-09-07T08:42:48.678Z","dependency_job_id":null,"html_url":"https://github.com/cloudamqp/presentation-demo","commit_stats":null,"previous_names":["cloudamqp/presentation-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fpresentation-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fpresentation-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fpresentation-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fpresentation-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudamqp","download_url":"https://codeload.github.com/cloudamqp/presentation-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233711034,"owners_count":18717952,"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":[],"created_at":"2024-11-13T20:19:29.042Z","updated_at":"2025-09-21T04:31:41.024Z","avatar_url":"https://github.com/cloudamqp.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# presentation-demo\n\n\n## Install Crystal\nIn order to run these applications, you need to install the programming language Crystal. Please follow the instructions on the [official website](https://crystal-lang.org/install/)\n\n#### For [Linux](https://crystal-lang.org/install/#:~:text=Source-,Linux,-Many%20Linux%20distribution)\n\n#### For [Macos](https://crystal-lang.org/install/#:~:text=installing%20on%20Linux-,MacOS,-The%20Crystal%20project)\n\n#### For [Windows](https://crystal-lang.org/install/#:~:text=installing%20on%20MacOS-,Windows,-(preview))\n\n## Clone this repository\n```sh\ngit clone git@github.com:cloudamqp/presentation-demo.git\ncd presentation-demo\n```\n### Install the required dependencies for your app\n\n`shards update`\n`shards install`\n\n## Install LavinMQ\n\n#### From source\n\nClone the git repository and build the project.\n\n```sh\ngit clone git@github.com:cloudamqp/lavinmq.git\ncd lavinmq\nmake\nsudo make install # optional\n```\n\nNow, LavinMQ is ready to be used. You can check the version with:\n\n```sh\nlavinmq -v\n```\n\nRun LavinMQ with:\n`lavinmq -D /var/lib/lavinmq`\n\n#### For MacOS\n\n```sh\nbrew install lavinmq\nbrew services list\nbrew services start lavinmq\n```\n\nTo stop Lavinmq: `brew services stop lavinmq`\n\n\n#### For Linux(Ubuntu/Debian)\n```sh\ncurl -fsSL https://packagecloud.io/cloudamqp/lavinmq/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/lavinmq.gpg \u003e /dev/null\n. /etc/os-release\necho \"deb [signed-by=/usr/share/keyrings/lavinmq.gpg] https://packagecloud.io/cloudamqp/lavinmq/$ID $VERSION_CODENAME main\" | sudo tee /etc/apt/sources.list.d/lavinmq.list\nsudo apt-get update\nsudo apt-get install lavinmq\n```\n\nRun LavinMQ with:\n`lavinmq -D /var/lib/lavinmq`\n\n### Start LavinMQ\n\nRun LavinMQ with:\n`lavinmq -D /var/lib/lavinmq`\n\n## Start app\nStart the consumer in one terminal window:\n`crystal run hello_world_consumer.cr`\n\nStart the publisher in another terminal window:\n`crystal run hello_world_publisher.cr`\n\n## Open LavinMQ management UI\n\n### Local LavinMQ\nURL: http://localhost:15672/ \\\nUsername: `guest` \\\nPassword: `guest`\n\n### LavinMQ running on CloudAMQP\nURL: https://test-freezing-barnacle.lmq.cloudamqp.com/ \\\nUsername: `tjejerkodar` \\\nPassword: `84codes`\n\n## Nice to have\n\n### AMQP client libraries\n\nClient for Crystal used in code along: https://github.com/cloudamqp/amqp-client.cr \\\nMore code examples: https://www.cloudamqp.com/docs/crystal.html\n\nClients for other languages and code examples: https://www.cloudamqp.com/docs/ruby.html#:~:text=HTTP-,CODE%20SAMPLE,-Ruby\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudamqp%2Fpresentation-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudamqp%2Fpresentation-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudamqp%2Fpresentation-demo/lists"}