bety icon indicating copy to clipboard operation
bety copied to clipboard

Make defaults generic

Open dlebauer opened this issue 6 years ago • 5 comments

It is confusing enough that there are so many instances of betydb. It does not make sense to have the default settings look like the database at betydb.org:

image

One additional step would be to add a table of all of the databases that people might be looking for.

dlebauer avatar Jan 14 '20 23:01 dlebauer

@dlebauer can you add an image of what it looks like now with the changes.

robkooper avatar Jan 14 '20 23:01 robkooper

@robkooper working on it ... once I run

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

Should the interface be at localhost:8000/bety?

dlebauer avatar Jan 15 '20 00:01 dlebauer

Yes, should be. Make sure that port is exposed in bh the docker-compose file

robkooper avatar Jan 15 '20 04:01 robkooper

@robkooper I have the same docker-compose.yml as the repo ... looks like the port should be exposed

services:
  # BETY rails frontend to the database
  bety:
    image: pecan/bety:${BRANCH:-latest}
    networks:
      - bety
    ports:
      - 8000
    environment:
      - UNICORN_WORKER_PROCESSES=1
      - SECRET_KEY_BASE=thisissomereallllllylongsecretkeyandshouldbelongerthanthis
    depends_on:
      - postgres
    restart: unless-stopped

dlebauer avatar Jan 15 '20 17:01 dlebauer

correct at that point it is exposed, not as port 8000 though. You will need to do a docker ps to see the port, or easier docker port bety 8000 You will see something like: 0.0.0.0:32769 meaning you need to connect to http://localhost:32769.

robkooper avatar Jan 15 '20 18:01 robkooper