{"id":34322339,"url":"https://github.com/pecanproject/bety","last_synced_at":"2025-12-17T14:22:20.339Z","repository":{"id":5647054,"uuid":"6855801","full_name":"PecanProject/bety","owner":"PecanProject","description":"Web-interface to the Biofuel Ecophysiological Traits and Yields Database (used by PEcAn and TERRA REF)","archived":false,"fork":false,"pushed_at":"2024-08-21T04:10:46.000Z","size":39237,"stargazers_count":18,"open_issues_count":174,"forks_count":37,"subscribers_count":35,"default_branch":"develop","last_synced_at":"2025-12-07T17:53:43.981Z","etag":null,"topics":["agriculture","crops","database","ecosystem-models","pecan","phenotyping","plants","postgis","ruby","trait"],"latest_commit_sha":null,"homepage":"https://www.betydb.org","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PecanProject.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-11-25T21:09:46.000Z","updated_at":"2025-05-21T16:25:01.000Z","dependencies_parsed_at":"2024-11-06T00:12:25.355Z","dependency_job_id":null,"html_url":"https://github.com/PecanProject/bety","commit_stats":{"total_commits":2254,"total_committers":22,"mean_commits":"102.45454545454545","dds":"0.40283939662821655","last_synced_commit":"1255e9112f3af6c746ebbbf22866390321bbe7a6"},"previous_names":[],"tags_count":80,"template":false,"template_full_name":null,"purl":"pkg:github/PecanProject/bety","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PecanProject%2Fbety","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PecanProject%2Fbety/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PecanProject%2Fbety/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PecanProject%2Fbety/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PecanProject","download_url":"https://codeload.github.com/PecanProject/bety/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PecanProject%2Fbety/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27783730,"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-12-17T02:00:08.291Z","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":["agriculture","crops","database","ecosystem-models","pecan","phenotyping","plants","postgis","ruby","trait"],"created_at":"2025-12-17T14:22:19.394Z","updated_at":"2025-12-17T14:22:20.330Z","avatar_url":"https://github.com/PecanProject.png","language":"Ruby","readme":"# BETYdb\n\n[![DOI](https://zenodo.org/badge/4469/PecanProject/bety.svg)](https://zenodo.org/badge/latestdoi/4469/PecanProject/bety)\n\n[![Build Status](https://github.com/PecanProject/bety/workflows/CI/badge.svg)](https://github.com/PecanProject/bety/actions?query=workflow%3ACI)\n\n[![Slack](https://img.shields.io/badge/slack-login-brightgreen.svg)](https://pecanproject.slack.com/) \n[![Slack](https://img.shields.io/badge/slack-join_chat-brightgreen.svg)](https://publicslack.com/slacks/pecanproject/invites/new) \n\nThis is the source code for the [Biofuel Ecophysiological Traits and Yields database (BETYdb)](http://www.betydb.org)\n\nThe website is primarily written in Ruby-on-Rails, and has a PostgreSQL backend.\nBETYdb provides an interface for contributing and accessing data, and is the informatics backend for the [Predictive Ecosystem Analyzer (PEcAn)](http://www.pecanproject.org).\n\n## Running BETY using Docker\n\nTo get started with BETY you can use the docker-compose.yml file included. This will start the database (postgresql with postgis version 9.5) as well as the BETY container. If this is the first time you start it you will need to initialize the database, this can be done using the following commands:\n\n```\ndocker-compose -p bety up -d postgres\ndocker run --rm --network bety_bety pecan/db\n```\n\nIf you want to change the id of the database, you can use:\n\n```\ndocker-compose run -e LOCAL_SERVER=77 bety fix\n```\n\nTo add initial users you can use the following commands (this will add the guestuser as well as the carya demo user)\n\n```\ndocker-compose run bety user 'guestuser' 'guestuser' 'Guest User' 'betydb@gmail.com' 4 4\ndocker-compose run bety user 'carya' 'illinois' 'Demo User' 'betydb@gmail.com' 1 1\n```\n\nOnce bety finishes inializing the database, or to restart BETY, you can bring up the all the containers using:\n\n```\ndocker-compose -p bety up -d\n```\n\nTo change the path BETY runs under you can change the path using the environment variable RAILS_RELATIVE_URL_ROOT, for example to just run bety you can use the following command. This will precompile any of the static assets and run BETY.\n\n```\ndocker run -e RAILS_RELATIVE_URL_ROOT=\"/bety\" pecan/bety\n```\n\n## Documentation.\n\n* Technical Documentation: https://pecanproject.github.io/bety-documentation/technical/\n* Data Entry: https://pecanproject.github.io/bety-documentation/dataentry/\n* Data Access: https://pecan.gitbook.io/betydb-data-access/\n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpecanproject%2Fbety","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpecanproject%2Fbety","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpecanproject%2Fbety/lists"}