Skip to content

databrary/databrary.org

Repository files navigation

I know there are credentials in this repo. They will all be hidden as soon as this has a public port.

Install Steps

make install will install several pieces of software on your machine. Mac users must have brew installed.

Install command line tools and dependencies necessary for development

make install

Start docker containers in one terminal where you can see the logs

make cleardb
make docker

Setup everything; be mindful of startup times

make setup_migrations
make setup_minio

Important:

If you are running hasura cli v1, please upgrade to v2, before running the migration

make upgrade-hasura-cli

Dev env

I open 4 tabs and run the following commands

make docker
make server DEV=1 // DEV IS IMPORTANT,SEE NOTES
make client
make migrate

Notes:

the following command will run the server in production mode

make server

Browser

Important Notes:

  • Minio Client and Minio Docker image need to be compatible, make sure you always have the right Minio Client for the right minio image.