Skip to content
/ bety Public
forked from PecanProject/bety

Web-interface to the Biofuel Ecophysiological Traits and Yields Database (the de-facto PEcAn database)

License

Notifications You must be signed in to change notification settings

serbinsh/bety

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BETYdb

DOI

[Build Status(https://github.com/PecanProject/bety/actions?query=workflow%3ACI)

Slack Slack

This is the source code for the Biofuel Ecophysiological Traits and Yields database (BETYdb)

The website is primarily written in Ruby-on-Rails, and has a PostgreSQL backend. BETYdb provides an interface for contributing and accessing data, and is the informatics backend for the Predictive Ecosystem Analyzer (PEcAn).

Running BETY using Docker

To 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:

docker-compose -p bety up -d postgres
docker run --rm --network bety_bety pecan/bety initialize

Once bety finishes inializing the database, or to restart BETY, you can bring up the all the containers using:

docker-compose -p bety up -d

To 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.

docker run -e RAILS_RELATIVE_URL_ROOT="/bety" pecan/bety

Documentation.

About

Web-interface to the Biofuel Ecophysiological Traits and Yields Database (the de-facto PEcAn database)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • TSQL 54.7%
  • Ruby 17.3%
  • HTML 10.7%
  • JavaScript 5.5%
  • XSLT 5.4%
  • PLpgSQL 2.7%
  • Other 3.7%