abff08f4813c,

Yeah, that's one of the things kinda holding me back for now as well.

Edit: I fnally gave it a shot. It turned out to be pretty easy. I just followed the admin guide on kbin's codeberg at https://codeberg.org/Kbin/kbin-core/wiki#admin-guide and scrolled down to the "Install with Docker" section.

Did this on an M1 Mac that already had Docker Desktop set up, so basically I skipped the first four subsections as not relevant and went straight down to the "Clone repo" subsection. (After cloning the repo, there is a section on getting docker-ce set up for Linux/GNU that I skipped).

I simply did "docker compose build" and didn't explicitly need to build fresh images. Then I ran "docker compose up" and the system was up.

Going to https://kbin.localhost .. told me that I forgot to build my npm or yarn assets. Whoops!

Since I didn't want to mess around with yarn on the host system (though that probably would have worked if I tried) I just found the kbin-php container id by checking the list from "docker ps" and then used "docker exec -it [kbin-php-container-id] /bin/sh" to log in with a shell. Then I ran "apk add yarn" followed by "yarn install" and "yarn build"

After that everything worked.

Somehow I missed seeing the configuration section, and so I created an admin user by registering a new user through the UI, and then running "docker exec -it [postgres-contanier-id] psql -U kbin kbin" to connect direcly to the database. Using psql I executed "update "user" set roles="['ROLE_ADMIN']", is_verified=true where id = 1;" then logged out and logged back in get recognized as an admin.

Finally I went ahead and created the random magazine through the UI.

Something is still off. The UI works fine and anything locally is good, but I can not seem to subscribe to magazines on other instances or even search for them from my own kbin.local - they just comes up empty. Not sure why this is happening but I'll update as soon as I learn more!

  • Todo
  • Suscrito
  • Moderado
  • Favoritos
  • RedditMigration@kbin.social
  • random
  • noticiascr
  • CostaRica
  • Todos las revistas