Code Monkey home page Code Monkey logo

sweetdevil144 / bety Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pecanproject/bety

0.0 0.0 0.0 38.3 MB

Web-interface to the Biofuel Ecophysiological Traits and Yields Database (used by PEcAn and TERRA REF)

Home Page: https://www.betydb.org

License: BSD 3-Clause "New" or "Revised" License

Shell 1.79% JavaScript 12.17% Ruby 37.91% Python 0.57% R 0.15% XSLT 11.96% CSS 5.56% HTML 23.67% PLpgSQL 6.07% Batchfile 0.07% Dockerfile 0.08%

bety's Introduction

BETYdb

DOI

Build Status

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/db

If you want to change the id of the database, you can use:

docker-compose run -e LOCAL_SERVER=77 bety fix

To add initial users you can use the following commands (this will add the guestuser as well as the carya demo user)

docker-compose run bety user 'guestuser' 'guestuser' 'Guest User' '[email protected]' 4 4
docker-compose run bety user 'carya' 'illinois' 'Demo User' '[email protected]' 1 1

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.

bety's People

Contributors

gsrohde avatar robkooper avatar dlebauer avatar carlcrott avatar mulroony avatar kemball avatar jschen3 avatar dependabot[bot] avatar zyang36 avatar max-zilla avatar marvinj avatar udaysaraf avatar phenolphtalein avatar chris-schnaufer avatar infotroph avatar katrinleinweber avatar mdietze avatar gitter-badger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.