To check if all dependencies are installed run the following command:
go to test folder in the project root directory and run:
bash ./bash_requirements_test.sh
- Open
bedbase_config_test.yaml
file in thetest/test_dependencies
folder, and change database credentials the one that you want to use. - Create a new database and user with the credentials that are in the
bedbase_config_test.yaml
file. Credentials that are in the config file are:
host: localhost
port: 5432
password: docker
user: postgres
name: bedbase
docker run --rm -it --name bedbase \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=docker \
-e POSTGRES_DB=bedbase \
-p 5432:5432 postgres