bety icon indicating copy to clipboard operation
bety copied to clipboard

Remaining steps for UA bety setup

Open dlebauer opened this issue 5 years ago • 13 comments

@Chris-Schnaufer a few things to finish up the production BETYdb at UA:

  • [x] Set the primary keys to 9 billion range
    • create a .env file where you launched pecan from and add BETY_LOCAL_SERVER=9 and then restart pecan, and initialize bety.
  • [x] expose database to localhost for ease of access
    • From Rob "You can export the port, using docker override as posted in my gist and then connect to localhost:5432
    • I think he means to just use postgres bit in a separate yml and run:
curl https://gist.githubusercontent.com/dlebauer/4f32034e5e1e455453c5b8060319b120/raw/ba05a6c401bd355a3cb02e121cc8b141396cc566/docker-compose.psqlports.yml
docker-compose -p pecan -f docker-compose.psqlports.yml up
  • [x] Then I should be able to get into psql like psql -d bety -U bety -h postgres and change my access levels in the database. (update users set access_level = 1, page_access_level=1 where login = ...???

dlebauer avatar Dec 14 '18 22:12 dlebauer