Skip to content

solgenomics/citrus

Repository files navigation

Breedbase Site

You can easily create your own Breedbase site using this repo. For developers, the breedbase_dockerfile repo is recommended.

First Installation

As a prerequisite, you have to install docker, docker compose, and git on your machine; follow the instructions appropriate for your operating system.

After the installation of the prerequisites, clone this repo and start the docker from within the repo directory, then enter the docker and run the db update script:

git clone https://github.com/solgenomics/breedbase_site

cd breedbase_site

docker compose up -d

# enter into the docker
docker exec -it breedbase_web bash

# run the db update script
db/run_all_patches.pl -h breedbase_db -u postgres -p postgres -d breedbase -e admin -s 150

A webpage should become accessible through a browser at localhost:8080.

You can login using the following credentials:

username: admin password: password

That's all there is to it!

Updating an installation to the latest version

To update the docker, run the following steps:

cd breedbase_site

docker pull breedbase/breedbase:latest

docker compose down

docker compose up -d

docker exec -it breedbase_web bash

db/run_all_patches.pl -h breedbase_db -u postgres -p postgres -d breedbase -e admin -s 150

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published