{"id":15151490,"url":"https://github.com/dbm-dynamic-border-management/dbm-api","last_synced_at":"2026-01-20T13:01:29.196Z","repository":{"id":107867429,"uuid":"379986652","full_name":"DBM-Dynamic-Border-Management/dbm-api","owner":"DBM-Dynamic-Border-Management","description":"This is a Rails 6 api for the mattermost dbm plugin.","archived":false,"fork":false,"pushed_at":"2021-06-25T09:45:49.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-07T09:43:06.831Z","etag":null,"topics":["api","docker","management","mattermost","postgres","rails","rails6","redis"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/DBM-Dynamic-Border-Management.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}},"created_at":"2021-06-24T16:23:51.000Z","updated_at":"2021-06-25T09:45:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"09ffecfe-56f4-49f3-b189-78ab563b255d","html_url":"https://github.com/DBM-Dynamic-Border-Management/dbm-api","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"2bb1c3aed1d6354e41e42fde17ea324f57c59333"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DBM-Dynamic-Border-Management/dbm-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DBM-Dynamic-Border-Management%2Fdbm-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DBM-Dynamic-Border-Management%2Fdbm-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DBM-Dynamic-Border-Management%2Fdbm-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DBM-Dynamic-Border-Management%2Fdbm-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DBM-Dynamic-Border-Management","download_url":"https://codeload.github.com/DBM-Dynamic-Border-Management/dbm-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DBM-Dynamic-Border-Management%2Fdbm-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","docker","management","mattermost","postgres","rails","rails6","redis"],"created_at":"2024-09-26T15:03:46.815Z","updated_at":"2026-01-20T13:01:29.175Z","avatar_url":"https://github.com/DBM-Dynamic-Border-Management.png","language":"Ruby","readme":"# DBM-API\n\nThis is a Rails 6 app.\n\n## Documentation\n\nThis README describes the purpose of this repository and how to set up a development environment. Other sources of documentation are as follows:\n\n* UI and API designs are in `doc/`\n\n## Prerequisites\n\nThis project requires:\n\n* Ruby 3.0.0, preferably managed using [rbenv][]\n* Chromedriver for Capybara testing\n* PostgreSQL must be installed and accepting connections\n* [Redis][] must be installed and running on localhost with the default port\n\nOn a Mac, you can obtain all of the above packages using [Homebrew][].\n\nIf you need help setting up a Ruby development environment, check out this [Rails OS X Setup Guide](https://mattbrictson.com/rails-osx-setup-guide).\n\n## Getting started\n\n### with docker\n\n* On your rails folder :\n\ndocker build -f base.Dockerfile -t dbm .\n\ncp .env.example .env\n\n* On the project's root folder :\n\ndocker-compose up\n\n### bin/setup\n\nRun the `bin/setup` script. This script will:\n\n* Check you have the required Ruby version\n* Install gems using Bundler\n* Create local copies of `.env` and `database.yml`\n* Create, migrate, and seed the database\n\n### Run it!\n\n1. Run `bin/rake test` to make sure everything works.\n2. Run `bin/rake test:system` to run system (capybara) tests.\n3. Run `bin/rails s` and `bin/sidekiq` to start the app and Sidekiq; alternatively, start both at once with `heroku local`.\n\n## Deployment\n\nEnsure the following environment variables are set in the deployment environment:\n\n* `POSTMARK_API_KEY`\n* `RACK_ENV`\n* `RAILS_ENV`\n* `REDIS_URL`\n* `SECRET_KEY_BASE`\n* `SIDEKIQ_WEB_PASSWORD`\n* `SIDEKIQ_WEB_USERNAME`\n\nOptionally:\n\n* `HOSTNAME`\n* `RAILS_FORCE_SSL`\n* `RAILS_LOG_TO_STDOUT`\n* `RAILS_MAX_THREADS`\n* `RAILS_SERVE_STATIC_FILES`\n* `WEB_CONCURRENCY`\n\n[rbenv]:https://github.com/sstephenson/rbenv\n[redis]:http://redis.io\n[Homebrew]:http://brew.sh\n\n\n## Contribute\n\nIf you have any issues or idea to contribute to the app, create an issue and explain everything inside\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbm-dynamic-border-management%2Fdbm-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbm-dynamic-border-management%2Fdbm-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbm-dynamic-border-management%2Fdbm-api/lists"}